mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-08 17:19:48 +01:00
Revert some extra changes
This commit is contained in:
+2
-7
@@ -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/*'
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
Vendored
-2
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user