Skip to content

Commit 728a4e6

Browse files
committed
Update to TypeScript 6 and update tsconfig
1 parent 829f2ae commit 728a4e6

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
"type": "module",
33
"private": true,
44
"dependencies": {
5-
"@fastly/js-compute": "^3.33.2"
5+
"@fastly/js-compute": "^3.41.0"
66
},
77
"devDependencies": {
88
"@fastly/cli": "^14.0.0",
9-
"typescript": "^5.2.2"
9+
"typescript": "^6.0.2"
1010
},
1111
"scripts": {
1212
"prebuild": "tsc --noEmit",

tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
{
22
"compilerOptions": {
33
"strict": true,
4-
"erasableSyntaxOnly": true,
5-
"skipLibCheck": true,
64
"target": "ES2022",
75
"lib": [ "ES2022" ],
86
"module": "ESNext",
@@ -11,6 +9,8 @@
119
"types": [ "@fastly/js-compute" ],
1210
"esModuleInterop": true,
1311
"isolatedModules": true,
12+
"noEmit": true,
13+
"erasableSyntaxOnly": true,
1414
"verbatimModuleSyntax": true,
1515
"allowImportingTsExtensions": true
1616
}

0 commit comments

Comments
 (0)