DefinitelyTyped/types/assert/package.json
Nathan Shively-Sanders a4ef4e9bf4
Put current version of assert in the root (#47201)
* Put current version of assert in the root

Previously, the code that supports the oldest version of Typescript was in the root: 3.1 and below. Newer versions were in ts*/ subdirectories.

This PR puts the newest version in the root, and older versions -- before 3.7 in this case -- in ts*/ subdirectories. This is possible because all supported versions of the Typescript now understand the typesVersions property in package.json.

This PR needs a new version of DefinitelyTyped-tools and dtslint, which I will ship soon. It also needs to be brought up to date with master.

* delete ts3.7/
2020-09-01 13:05:38 -07:00

12 lines
164 B
JSON

{
"private": true,
"types": "index",
"typesVersions": {
"<=3.6": {
"*": [
"ts3.6/*"
]
}
}
}