Fixes Playground type errors (#287145)

This commit is contained in:
Henning Dieterichs
2026-01-12 19:29:15 +01:00
committed by GitHub
parent 669093c724
commit 757fa88f1f
2 changed files with 4 additions and 5 deletions

View File

@@ -1,10 +1,11 @@
{
"compilerOptions": {
"allowImportingTsExtensions": true,
"checkJs": true,
"module": "preserve",
"noEmit": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
"experimentalDecorators": true,
},
"include": ["**/*.ts"]
"types": ["vite/client"]
}
}

View File

@@ -5,7 +5,6 @@
import { createLogger, defineConfig, Plugin } from 'vite';
import path, { join } from 'path';
/// @ts-ignore
import { urlToEsmPlugin } from './rollup-url-to-module-plugin/index.mjs';
import { statSync } from 'fs';
import { pathToFileURL } from 'url';
@@ -185,7 +184,6 @@ export default defineConfig({
fs: {
allow: [
// To allow loading from sources, not needed when loading monaco-editor from npm package
/// @ts-ignore
join(import.meta.dirname, '../../../')
]
}