Skip to content

Commit

Permalink
Explicit TS4.1 types support in package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
molefrog committed May 1, 2023
1 parent 7d6662d commit 9ed9488
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions package.json
@@ -1,6 +1,6 @@
{
"name": "wouter",
"version": "2.10.1",
"version": "2.10.2-dev.1",
"description": "A minimalistic routing for React and Preact. Nothing extra, just HOOKS.",
"keywords": [
"react",
Expand Down Expand Up @@ -45,7 +45,10 @@
"module": "index.js",
"types": "types/ts3.9.4/index.d.ts",
"typesVersions": {
"*": {
">=4.1": {
"types/ts3.9.4/index.d.ts": [
"types/ts4.1/index.d.ts"
],
"use-location": [
"types/use-location.d.ts"
],
Expand All @@ -56,9 +59,15 @@
"types/static-location.d.ts"
]
},
">=4.1": {
"types/ts3.9.4/index.d.ts": [
"types/ts4.1/index.d.ts"
"<4.1": {
"use-location": [
"types/use-location.d.ts"
],
"matcher": [
"types/matcher.d.ts"
],
"static-location": [
"types/static-location.d.ts"
]
}
},
Expand Down

0 comments on commit 9ed9488

Please sign in to comment.