Skip to content
This repository has been archived by the owner on Jan 23, 2022. It is now read-only.

Latest commit

 

History

History
15 lines (8 loc) · 845 Bytes

README.md

File metadata and controls

15 lines (8 loc) · 845 Bytes

This takes JSDuck output (https://github.com/senchalabs/jsduck) and turns it into type declarations for Typescript (version 1.4+).

This is designed to be used in conjunction with fabioparra's patched Typescript compiler that emits ExtJS style classes (https://github.com/fabioparra/TypeScript). ExtJS versions 4 and 5 are supported.

Pre-generated declaration files

There is a selection of pre-generated declarations files (for ExtJS 4 and 5) in the declarations folder. Make an issue if you would like to see another one, or generate it yourself (see below).

Generating your own declaration file

The easiest way to do this is probably to modify generate-defaults.ts and add another entry to the EXT_VERSIONS array. You can then run npm install to run the script.