diff options
author | Alex Dima <alexdima@microsoft.com> | 2020-06-24 18:19:11 +0300 |
---|---|---|
committer | Alex Dima <alexdima@microsoft.com> | 2020-06-24 18:19:19 +0300 |
commit | 4deff1a75b30f566eae075100b2c44c3b47f87e5 (patch) | |
tree | c285533e7f73a196727a4b9aa89bbb168311f1a6 /src/typings | |
parent | 118e9126bbfe1af0451f6c84cd98af118130b0f9 (diff) |
Load loader.js via a `<script>` tag
Diffstat (limited to 'src/typings')
-rw-r--r-- | src/typings/require.d.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/typings/require.d.ts b/src/typings/require.d.ts index dfffac43e56..cc4a4043ce1 100644 --- a/src/typings/require.d.ts +++ b/src/typings/require.d.ts @@ -47,6 +47,7 @@ interface NodeRequire { onError: Function; __$__nodeRequire<T>(moduleName: string): T; getStats(): ReadonlyArray<LoaderEvent>; + define(amdModuleId: string, dependencies: string[], callback: (...args: any[]) => any): any; } declare var require: NodeRequire; |