Socket
Socket
Sign inDemoInstall

downlevel-dts

Package Overview
Dependencies
2
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

downlevel-dts

Convert d.ts to be compatible with older typescript compilers


Version published
Maintainers
1
Created

Readme

Source

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.

FAQs

Last updated on 03 Feb 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc