Skip to content

Commit

Permalink
Added support for TypeScript 5.1 (#2300)
Browse files Browse the repository at this point in the history
* Added support for TypeScript 5.1
* Removed minimatch from types in tsconfig
  • Loading branch information
WikiRik committed Jun 4, 2023
1 parent 6d92e84 commit d05a49b
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 21 deletions.
16 changes: 8 additions & 8 deletions example/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion example/package.json
Expand Up @@ -19,6 +19,6 @@
"react-dom": "^17.0.2"
},
"devDependencies": {
"typescript": "^5.0.3"
"typescript": "^5.1.3"
}
}
18 changes: 9 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -30,7 +30,7 @@
"shiki": "^0.14.1"
},
"peerDependencies": {
"typescript": "4.6.x || 4.7.x || 4.8.x || 4.9.x || 5.0.x"
"typescript": "4.6.x || 4.7.x || 4.8.x || 4.9.x || 5.0.x || 5.1.x"
},
"devDependencies": {
"@types/lunr": "^2.3.4",
Expand All @@ -47,7 +47,7 @@
"prettier": "2.8.7",
"puppeteer": "^13.5.2",
"ts-node": "^10.9.1",
"typescript": "5.0.4"
"typescript": "5.1.3"
},
"files": [
"/bin",
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Expand Up @@ -6,7 +6,7 @@

// Add our `ts` internal types
"typeRoots": ["node_modules/@types", "src/lib/types"],
"types": ["node", "lunr", "marked", "minimatch", "mocha"],
"types": ["node", "lunr", "marked", "mocha"],
// Speed up dev compilation time
"incremental": true,
"tsBuildInfoFile": "dist/.tsbuildinfo",
Expand Down

0 comments on commit d05a49b

Please sign in to comment.