Upgrade to TypeScript 7 (#34208)
* Upgrade to TypeScript 7 for massive tsc speed gains Those on WebStorm will want to upgrade to EAP to reap the benefits of the new TSGo compiler Some things (module-api & shared-components) which utilise unplugin-dts (and api-extractor) need to hold a copy of ts6 for its conventional lib format and API. TS7 ships with no API until TS7.1. Other things which use eslint also need ts6 for typescript-eslint. Some type changes were necessary as TS7 caught some issues. * Add knip exception * Fix bad merge
This commit is contained in:
@@ -30,6 +30,10 @@ export default defineConfig({
|
||||
dts({
|
||||
bundleTypes: {
|
||||
configPath: "./api-extractor.json",
|
||||
invokeOptions: {
|
||||
localBuild: !!process.env.CI,
|
||||
typescriptCompilerFolder: resolve(require.resolve("@typescript/old"), "../.."),
|
||||
},
|
||||
},
|
||||
}),
|
||||
externalGlobals({
|
||||
|
||||
Reference in New Issue
Block a user