Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/microsoft/vscode.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Rieken <johannes.rieken@gmail.com>2019-11-07 12:38:10 +0300
committerJohannes Rieken <johannes.rieken@gmail.com>2019-11-07 12:38:10 +0300
commit1607116d9fa983ab88fcbc76c3c06b654b1d52cb (patch)
tree7841753dab08f64165f6c8cbe151c0afdaca35d5 /src/typings
parent982b8a1a4392710ba9759d9d8c71400fc3075e27 (diff)
remove duplicated NodeRequire declaration, #83421
Diffstat (limited to 'src/typings')
-rw-r--r--src/typings/require-monaco.d.ts12
-rw-r--r--src/typings/require.d.ts2
2 files changed, 1 insertions, 13 deletions
diff --git a/src/typings/require-monaco.d.ts b/src/typings/require-monaco.d.ts
deleted file mode 100644
index 1d823ddb860..00000000000
--- a/src/typings/require-monaco.d.ts
+++ /dev/null
@@ -1,12 +0,0 @@
-/*---------------------------------------------------------------------------------------------
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for license information.
- *--------------------------------------------------------------------------------------------*/
-
-interface NodeRequire {
- toUrl(path: string): string;
- (dependencies: string[], callback: (...args: any[]) => any, errorback?: (err: any) => void): any;
- config(data: any): any;
-}
-
-declare var require: NodeRequire; \ No newline at end of file
diff --git a/src/typings/require.d.ts b/src/typings/require.d.ts
index 618861a5bee..0d8aa16d726 100644
--- a/src/typings/require.d.ts
+++ b/src/typings/require.d.ts
@@ -46,5 +46,5 @@ interface NodeRequire {
config(data: any): any;
onError: Function;
__$__nodeRequire<T>(moduleName: string): T;
- getStats(): ReadonlyArray<LoaderEvent>
+ getStats(): ReadonlyArray<LoaderEvent>;
}