Skip to content

Commit c243fe5

Browse files
committed
build: upgrade to typescript 5.0
1 parent 9f858b7 commit c243fe5

File tree

5 files changed

+48
-37
lines changed

5 files changed

+48
-37
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"lint-staged": "13.2.0",
2222
"prettier": "2.8.4",
2323
"prettier-plugin-astro": "0.8.0",
24-
"typescript": "4.9.5"
24+
"typescript": "5.0.2"
2525
},
2626
"engines": {
2727
"node": ">=18"
-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
// @ts-expect-error Astro component barrel export through a TypeScript file.
21
export { default as AstroContentDevtools } from './src/components/AstroContentDevtools.astro'
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
/// <reference types="astro/client" />
2+
3+
declare module '*.astro'

pnpm-lock.yaml

+40-34
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tsconfig.json

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
{
2-
"extends": "@hideoo/tsconfig"
2+
"extends": "@hideoo/tsconfig",
3+
"compilerOptions": {
4+
"moduleResolution": "bundler",
5+
"target": "ESNext"
6+
}
37
}

0 commit comments

Comments
 (0)