Remove `@types/node` dep for simple browser

This package does not use any node modules
上级 134c3453
......@@ -70,7 +70,6 @@
"vscode-nls": "^5.0.0"
},
"devDependencies": {
"@types/node": "14.x",
"@types/vscode-webview": "^1.57.0",
"vscode-codicons": "^0.0.14"
},
......
......@@ -7,7 +7,10 @@ import * as vscode from 'vscode';
import * as nls from 'vscode-nls';
import { SimpleBrowserManager } from './simpleBrowserManager';
declare const URL: typeof import('url').URL;
declare class URL {
constructor(input: string, base?: string | URL);
hostname: string;
}
const localize = nls.loadMessageBundle();
......
......@@ -2,7 +2,7 @@
"extends": "../tsconfig.base.json",
"compilerOptions": {
"outDir": "./out",
"experimentalDecorators": true
"types": []
},
"include": [
"src/**/*"
......
......@@ -2,11 +2,6 @@
# yarn lockfile v1
"@types/node@14.x":
version "14.14.43"
resolved "https://registry.yarnpkg.com/@types/node/-/node-14.14.43.tgz#26bcbb0595b305400e8ceaf9a127a7f905ae49c8"
integrity sha512-3pwDJjp1PWacPTpH0LcfhgjvurQvrZFBrC6xxjaUEZ7ifUtT32jtjPxEMMblpqd2Mvx+k8haqQJLQxolyGN/cQ==
"@types/vscode-webview@^1.57.0":
version "1.57.0"
resolved "https://registry.yarnpkg.com/@types/vscode-webview/-/vscode-webview-1.57.0.tgz#bad5194d45ae8d03afc1c0f67f71ff5e7a243bbf"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册