Revert some extra changes

This commit is contained in:
Matt Bierner
2025-10-14 09:34:53 -07:00
parent 457625cefa
commit 68182d58e8
2 changed files with 2 additions and 9 deletions
+2 -7
View File
@@ -1033,11 +1033,7 @@ export default tseslint.config(
{
'target': 'src/vs/base/~',
'restrictions': [
'vs/base/~',
{
'when': 'hasBrowser',
'pattern': 'trusted-types/**'
}, // Typings
'vs/base/~'
]
},
{
@@ -1373,8 +1369,7 @@ export default tseslint.config(
{
'target': 'src/vs/amdX.ts',
'restrictions': [
'vs/base/common/*',
'trusted-types/**', // Typings
'vs/base/common/*'
]
},
{
-2
View File
@@ -5,8 +5,6 @@
// AMD2ESM migration relevant
import type { TrustedTypePolicy } from 'trusted-types/lib/index.js';
declare global {
var _VSCODE_WEB_PACKAGE_TTP: Pick<TrustedTypePolicy, 'name' | 'createScriptURL'> | undefined;