mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-08 17:19:48 +01:00
Allow @vscode/tree-sitter-wasm type import in more places (#227831)
Part of #227752
This commit is contained in:
+3
-1
@@ -846,7 +846,8 @@
|
||||
"vs/platform/*/~",
|
||||
"vs/editor/~",
|
||||
"vs/editor/contrib/*/~",
|
||||
"vs/editor/standalone/~"
|
||||
"vs/editor/standalone/~",
|
||||
"@vscode/tree-sitter-wasm" // type import
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -932,6 +933,7 @@
|
||||
"tas-client-umd", // node module allowed even in /common/
|
||||
"vscode-textmate", // node module allowed even in /common/
|
||||
"@vscode/vscode-languagedetection", // node module allowed even in /common/
|
||||
"@vscode/tree-sitter-wasm", // type import
|
||||
{
|
||||
"when": "hasBrowser",
|
||||
"pattern": "@xterm/xterm"
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
|
||||
// eslint-disable-next-line local/code-import-patterns
|
||||
import type { Parser } from '@vscode/tree-sitter-wasm';
|
||||
import { Event } from '../../../base/common/event.js';
|
||||
import { ITextModel } from '../../common/model.js';
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
|
||||
// eslint-disable-next-line local/code-import-patterns
|
||||
import type { Parser } from '@vscode/tree-sitter-wasm';
|
||||
import { Emitter, Event } from '../../../../base/common/event.js';
|
||||
import { Disposable, DisposableMap, DisposableStore, IDisposable } from '../../../../base/common/lifecycle.js';
|
||||
|
||||
Reference in New Issue
Block a user