Skip to content

Commit f4ddbfc

Browse files
committed
chore: fix workspace typecheck
1 parent e7d5764 commit f4ddbfc

2 files changed

Lines changed: 9 additions & 3 deletions

File tree

packages/devtools/src/nuxt.config.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,5 +127,14 @@ export default defineNuxtConfig({
127127
enabled: true,
128128
},
129129

130+
typescript: {
131+
tsConfig: {
132+
compilerOptions: {
133+
types: ['chrome'], // for devtools-webext package
134+
},
135+
},
136+
includeWorkspace: true,
137+
},
138+
130139
compatibilityDate: '2024-07-17',
131140
})

tsconfig.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@
55
"module": "esnext",
66
"moduleResolution": "Bundler",
77
"resolveJsonModule": true,
8-
"types": [
9-
"chrome"
10-
],
118
"noEmit": true
129
}
1310
}

0 commit comments

Comments
 (0)