diff options
author | Alexandru Dima <alexdima@microsoft.com> | 2020-12-22 00:12:26 +0300 |
---|---|---|
committer | Alexandru Dima <alexdima@microsoft.com> | 2020-12-22 00:12:26 +0300 |
commit | 0e2a0f9013cc9f6546bd19970ad2223dc65f5b14 (patch) | |
tree | 3617665bb7ddb8ef4d57e3bec7e9c474073ce9b8 /src/typings | |
parent | d63aa232d93081469a23e9159cb3b68dffbc58cf (diff) |
Prompt when there is an AMD module cycle
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 dc6c6bd10fd..5b0fcf921f7 100644 --- a/src/typings/require.d.ts +++ b/src/typings/require.d.ts @@ -50,6 +50,7 @@ interface NodeRequire { onError: Function; __$__nodeRequire<T>(moduleName: string): T; getStats(): ReadonlyArray<LoaderEvent>; + hasDependencyCycle(): boolean; define(amdModuleId: string, dependencies: string[], callback: (...args: any[]) => any): any; } |