Skip to content

Tool for generating dom related TypeScript and JavaScript library files

License

Notifications You must be signed in to change notification settings

microsoft/TypeScript-DOM-lib-generator

TypeScript and JavaScript lib generator

This tool is used to generate the web-based lib.dom.d.ts file which is included with TypeScript releases, and as the @types/web package.

Why is my fancy API still not available here?

A feature needs to be supported by two or more major browser engines to be included here, to make sure there is a good consensus among vendors: Gecko (Firefox), Blink (Chrome/Edge), and WebKit (Safari).

If the condition is met but still is not available here, first check the contribution guidelines below and then please file an issue.

Build Instructions

To get things setup:

npm install

To generate the .d.ts files

npm run build

To test:

npm run test

@types/[lib] to TypeScript Versions

@types/[lib] version TypeScript Version Minimum TypeScript Support
@types/web 0.0.1 ~4.3 4.4
@types/web 0.0.2 ~4.4 beta 4.4
@types/web 0.0.25 4.4 4.4
@types/web 0.0.28 4.5 beta 4.4
@types/web 0.0.37 4.5 rc 4.4
@types/web 0.0.37 4.5 4.4
@types/web 0.0.50 4.6 beta 4.4
@types/web 0.0.51 4.6 rc 4.4
@types/web 0.0.51 4.6 4.4
@types/web 0.0.61 4.7 beta 4.4
@types/web 0.0.61 4.7 rc 4.4
@types/web 0.0.61 4.7 4.4
@types/web