Skip to content

Convert a new d.ts to one that works with older versions of Typescript

License

Notifications You must be signed in to change notification settings

dsherret/downlevel-dts

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Usage

  1. $ npm install downlevel-dts
  2. $ npx downlevel-dts . ts3.4
  3. To your package.json, add
"typesVersions": {
  "<=3.4.0-0": { "*": ["ts3.4/*"] }
}
  1. $ cp tsconfig.json ts3.4/tsconfig.json

These instructions are modified and simplified from the Definitely Typed.

About

Convert a new d.ts to one that works with older versions of Typescript

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%