Skip to content

Document lib dependencies in TypeScript compiler options #615

@aoberoi

Description

@aoberoi

Description

It has been pointed out (in #612) that it isn't completely clear which TypeScript lib compiler option requirements your application must have when using this library.

While the default compiler options with assign lib to either DOM,ES5,ScriptHost or DOM,ES6,DOM.Iterable,ScriptHost (depending on the target JS version), this library using AsyncIterable<T>, which means it also requires esnext.asynciterable.

What is the right way for typescript libraries to declare this sort of dependency?

Requirements (place an x in each of the [ ])

  • I've read and understood the Contributing guidelines and have done my best effort to follow them.
  • I've read and agree to the Code of Conduct.
  • I've searched for any related issues and avoided creating a duplicate issue.

Metadata

Metadata

Assignees

Labels

area:typescriptissues that specifically impact using the package from typescript projectsdocsM-T: Documentation work only

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions