Skip to content
Please note that GitHub no longer supports Internet Explorer.

We recommend upgrading to the latest Microsoft Edge, Google Chrome, or Firefox.

Learn more
Convert a new d.ts to one that works with older versions of Typescript
JavaScript
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/workflows
baselines/ts3.4
test
.gitignore
.prettierignore
.prettierrc
CODEOWNERS
LICENSE
README.md
index.js
index.test.js
jest.config.js
package-lock.json
package.json
tsconfig.json

README.md

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.

You can’t perform that action at this time.