Skip to content

Commit

Permalink
chore: specify minimum typescript version needed when using typescript
Browse files Browse the repository at this point in the history
  • Loading branch information
RebeccaStevens committed Sep 13, 2021
1 parent 105b646 commit ef432ad
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,14 @@
"tslib": "^2.3.1",
"typescript": "^4.4.3"
},
"peerDependencies": {
"typescript": ">=4.1.0"
},
"peerDependenciesMeta": {
"typescript": {
"optional": true
}
},
"engines": {
"node": ">=12.4.0"
}
Expand Down
2 changes: 1 addition & 1 deletion tests/types/index.d.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
// Minimum TypeScript Version: 4.4
// Minimum TypeScript Version: 4.1

0 comments on commit ef432ad

Please sign in to comment.