Searched refs:dynamicImport (Results 1 – 25 of 166) sorted by relevance
1234567
/third_party/typescript/tests/baselines/reference/ |
D | importCallExpressionInSystem4.types | 1 === tests/cases/conformance/dynamicImport/0.ts === 14 === tests/cases/conformance/dynamicImport/1.ts === 19 === tests/cases/conformance/dynamicImport/2.ts === 27 >myModule : Promise<typeof import("tests/cases/conformance/dynamicImport/0")> 28 >import("./0") : Promise<typeof import("tests/cases/conformance/dynamicImport/0")> 35 >loadAsync : Promise<typeof import("tests/cases/conformance/dynamicImport/0")> 36 >import("./0") : Promise<typeof import("tests/cases/conformance/dynamicImport/0")> 41 …ts/cases/conformance/dynamicImport/0"), TResult2 = never>(onfulfilled?: (value: typeof import("tes… 42 >this.myModule : Promise<typeof import("tests/cases/conformance/dynamicImport/0")> 44 >myModule : Promise<typeof import("tests/cases/conformance/dynamicImport/0")> [all …]
|
D | importCallExpressionInUMD4.types | 1 === tests/cases/conformance/dynamicImport/0.ts === 14 === tests/cases/conformance/dynamicImport/1.ts === 19 === tests/cases/conformance/dynamicImport/2.ts === 27 >myModule : Promise<typeof import("tests/cases/conformance/dynamicImport/0")> 28 >import("./0") : Promise<typeof import("tests/cases/conformance/dynamicImport/0")> 35 >loadAsync : Promise<typeof import("tests/cases/conformance/dynamicImport/0")> 36 >import("./0") : Promise<typeof import("tests/cases/conformance/dynamicImport/0")> 41 …ts/cases/conformance/dynamicImport/0"), TResult2 = never>(onfulfilled?: (value: typeof import("tes… 42 >this.myModule : Promise<typeof import("tests/cases/conformance/dynamicImport/0")> 44 >myModule : Promise<typeof import("tests/cases/conformance/dynamicImport/0")> [all …]
|
D | importCallExpressionInAMD4.types | 1 === tests/cases/conformance/dynamicImport/0.ts === 14 === tests/cases/conformance/dynamicImport/1.ts === 19 === tests/cases/conformance/dynamicImport/2.ts === 27 >myModule : Promise<typeof import("tests/cases/conformance/dynamicImport/0")> 28 >import("./0") : Promise<typeof import("tests/cases/conformance/dynamicImport/0")> 35 >loadAsync : Promise<typeof import("tests/cases/conformance/dynamicImport/0")> 36 >import("./0") : Promise<typeof import("tests/cases/conformance/dynamicImport/0")> 41 …ts/cases/conformance/dynamicImport/0"), TResult2 = never>(onfulfilled?: (value: typeof import("tes… 42 >this.myModule : Promise<typeof import("tests/cases/conformance/dynamicImport/0")> 44 >myModule : Promise<typeof import("tests/cases/conformance/dynamicImport/0")> [all …]
|
D | importCallExpressionInCJS5.types | 1 === tests/cases/conformance/dynamicImport/0.ts === 14 === tests/cases/conformance/dynamicImport/1.ts === 19 === tests/cases/conformance/dynamicImport/2.ts === 27 >myModule : Promise<typeof import("tests/cases/conformance/dynamicImport/0")> 28 >import("./0") : Promise<typeof import("tests/cases/conformance/dynamicImport/0")> 35 >loadAsync : Promise<typeof import("tests/cases/conformance/dynamicImport/0")> 36 >import ("./0") : Promise<typeof import("tests/cases/conformance/dynamicImport/0")> 41 …ts/cases/conformance/dynamicImport/0"), TResult2 = never>(onfulfilled?: (value: typeof import("tes… 42 >this.myModule : Promise<typeof import("tests/cases/conformance/dynamicImport/0")> 44 >myModule : Promise<typeof import("tests/cases/conformance/dynamicImport/0")> [all …]
|
D | importCallExpressionES6AMD.types | 1 === tests/cases/conformance/dynamicImport/0.ts === 6 === tests/cases/conformance/dynamicImport/1.ts === 8 >import("./0") : Promise<typeof import("tests/cases/conformance/dynamicImport/0")> 12 >p1 : Promise<typeof import("tests/cases/conformance/dynamicImport/0")> 13 >import("./0") : Promise<typeof import("tests/cases/conformance/dynamicImport/0")> 18 …ts/cases/conformance/dynamicImport/0"), TResult2 = never>(onfulfilled?: (value: typeof import("tes… 19 >p1 : Promise<typeof import("tests/cases/conformance/dynamicImport/0")> 20 …ts/cases/conformance/dynamicImport/0"), TResult2 = never>(onfulfilled?: (value: typeof import("tes… 21 >zero => { return zero.foo();} : (zero: typeof import("tests/cases/conformance/dynamicImport/0")… 22 >zero : typeof import("tests/cases/conformance/dynamicImport/0") [all …]
|
D | importCallExpressionES6System.types | 1 === tests/cases/conformance/dynamicImport/0.ts === 6 === tests/cases/conformance/dynamicImport/1.ts === 8 >import("./0") : Promise<typeof import("tests/cases/conformance/dynamicImport/0")> 12 >p1 : Promise<typeof import("tests/cases/conformance/dynamicImport/0")> 13 >import("./0") : Promise<typeof import("tests/cases/conformance/dynamicImport/0")> 18 …ts/cases/conformance/dynamicImport/0"), TResult2 = never>(onfulfilled?: (value: typeof import("tes… 19 >p1 : Promise<typeof import("tests/cases/conformance/dynamicImport/0")> 20 …ts/cases/conformance/dynamicImport/0"), TResult2 = never>(onfulfilled?: (value: typeof import("tes… 21 >zero => { return zero.foo();} : (zero: typeof import("tests/cases/conformance/dynamicImport/0")… 22 >zero : typeof import("tests/cases/conformance/dynamicImport/0") [all …]
|
D | importCallExpressionES5System.types | 1 === tests/cases/conformance/dynamicImport/0.ts === 6 === tests/cases/conformance/dynamicImport/1.ts === 8 >import("./0") : Promise<typeof import("tests/cases/conformance/dynamicImport/0")> 12 >p1 : Promise<typeof import("tests/cases/conformance/dynamicImport/0")> 13 >import("./0") : Promise<typeof import("tests/cases/conformance/dynamicImport/0")> 18 …ts/cases/conformance/dynamicImport/0"), TResult2 = never>(onfulfilled?: (value: typeof import("tes… 19 >p1 : Promise<typeof import("tests/cases/conformance/dynamicImport/0")> 20 …ts/cases/conformance/dynamicImport/0"), TResult2 = never>(onfulfilled?: (value: typeof import("tes… 21 >zero => { return zero.foo();} : (zero: typeof import("tests/cases/conformance/dynamicImport/0")… 22 >zero : typeof import("tests/cases/conformance/dynamicImport/0") [all …]
|
D | importCallExpressionES5CJS.types | 1 === tests/cases/conformance/dynamicImport/0.ts === 6 === tests/cases/conformance/dynamicImport/1.ts === 8 >import("./0") : Promise<typeof import("tests/cases/conformance/dynamicImport/0")> 12 >p1 : Promise<typeof import("tests/cases/conformance/dynamicImport/0")> 13 >import("./0") : Promise<typeof import("tests/cases/conformance/dynamicImport/0")> 18 …ts/cases/conformance/dynamicImport/0"), TResult2 = never>(onfulfilled?: (value: typeof import("tes… 19 >p1 : Promise<typeof import("tests/cases/conformance/dynamicImport/0")> 20 …ts/cases/conformance/dynamicImport/0"), TResult2 = never>(onfulfilled?: (value: typeof import("tes… 21 >zero => { return zero.foo();} : (zero: typeof import("tests/cases/conformance/dynamicImport/0")… 22 >zero : typeof import("tests/cases/conformance/dynamicImport/0") [all …]
|
D | importCallExpressionES5AMD.types | 1 === tests/cases/conformance/dynamicImport/0.ts === 6 === tests/cases/conformance/dynamicImport/1.ts === 8 >import("./0") : Promise<typeof import("tests/cases/conformance/dynamicImport/0")> 12 >p1 : Promise<typeof import("tests/cases/conformance/dynamicImport/0")> 13 >import("./0") : Promise<typeof import("tests/cases/conformance/dynamicImport/0")> 18 …ts/cases/conformance/dynamicImport/0"), TResult2 = never>(onfulfilled?: (value: typeof import("tes… 19 >p1 : Promise<typeof import("tests/cases/conformance/dynamicImport/0")> 20 …ts/cases/conformance/dynamicImport/0"), TResult2 = never>(onfulfilled?: (value: typeof import("tes… 21 >zero => { return zero.foo();} : (zero: typeof import("tests/cases/conformance/dynamicImport/0")… 22 >zero : typeof import("tests/cases/conformance/dynamicImport/0") [all …]
|
D | importCallExpressionES5UMD.types | 1 === tests/cases/conformance/dynamicImport/0.ts === 6 === tests/cases/conformance/dynamicImport/1.ts === 8 >import("./0") : Promise<typeof import("tests/cases/conformance/dynamicImport/0")> 12 >p1 : Promise<typeof import("tests/cases/conformance/dynamicImport/0")> 13 >import("./0") : Promise<typeof import("tests/cases/conformance/dynamicImport/0")> 18 …ts/cases/conformance/dynamicImport/0"), TResult2 = never>(onfulfilled?: (value: typeof import("tes… 19 >p1 : Promise<typeof import("tests/cases/conformance/dynamicImport/0")> 20 …ts/cases/conformance/dynamicImport/0"), TResult2 = never>(onfulfilled?: (value: typeof import("tes… 21 >zero => { return zero.foo();} : (zero: typeof import("tests/cases/conformance/dynamicImport/0")… 22 >zero : typeof import("tests/cases/conformance/dynamicImport/0") [all …]
|
D | importCallExpressionES6CJS.types | 1 === tests/cases/conformance/dynamicImport/0.ts === 6 === tests/cases/conformance/dynamicImport/1.ts === 8 >import("./0") : Promise<typeof import("tests/cases/conformance/dynamicImport/0")> 12 >p1 : Promise<typeof import("tests/cases/conformance/dynamicImport/0")> 13 >import("./0") : Promise<typeof import("tests/cases/conformance/dynamicImport/0")> 18 …ts/cases/conformance/dynamicImport/0"), TResult2 = never>(onfulfilled?: (value: typeof import("tes… 19 >p1 : Promise<typeof import("tests/cases/conformance/dynamicImport/0")> 20 …ts/cases/conformance/dynamicImport/0"), TResult2 = never>(onfulfilled?: (value: typeof import("tes… 21 >zero => { return zero.foo();} : (zero: typeof import("tests/cases/conformance/dynamicImport/0")… 22 >zero : typeof import("tests/cases/conformance/dynamicImport/0") [all …]
|
D | importCallExpressionES6UMD.types | 1 === tests/cases/conformance/dynamicImport/0.ts === 6 === tests/cases/conformance/dynamicImport/1.ts === 8 >import("./0") : Promise<typeof import("tests/cases/conformance/dynamicImport/0")> 12 >p1 : Promise<typeof import("tests/cases/conformance/dynamicImport/0")> 13 >import("./0") : Promise<typeof import("tests/cases/conformance/dynamicImport/0")> 18 …ts/cases/conformance/dynamicImport/0"), TResult2 = never>(onfulfilled?: (value: typeof import("tes… 19 >p1 : Promise<typeof import("tests/cases/conformance/dynamicImport/0")> 20 …ts/cases/conformance/dynamicImport/0"), TResult2 = never>(onfulfilled?: (value: typeof import("tes… 21 >zero => { return zero.foo();} : (zero: typeof import("tests/cases/conformance/dynamicImport/0")… 22 >zero : typeof import("tests/cases/conformance/dynamicImport/0") [all …]
|
D | importCallExpressionCheckReturntype1.errors.txt | 1 …dynamicImport/1.ts(4,5): error TS2322: Type 'Promise<typeof import("tests/cases/conformance/dynami… 2 …"tests/cases/conformance/dynamicImport/defaultPath")' but required in type 'typeof import("tests/c… 3 …dynamicImport/1.ts(5,10): error TS2352: Conversion of type 'Promise<typeof import("tests/cases/con… 4 …"tests/cases/conformance/dynamicImport/defaultPath")' but required in type 'typeof import("tests/c… 7 ==== tests/cases/conformance/dynamicImport/anotherModule.ts (0 errors) ==== 10 ==== tests/cases/conformance/dynamicImport/defaultPath.ts (0 errors) ==== 13 ==== tests/cases/conformance/dynamicImport/1.ts (2 errors) ==== 19 …cases/conformance/dynamicImport/defaultPath")>' is not assignable to type 'Promise<typeof import("… 20 …"tests/cases/conformance/dynamicImport/defaultPath")' but required in type 'typeof import("tests/c… 21 !!! related TS2728 tests/cases/conformance/dynamicImport/anotherModule.ts:1:14: 'D' is declared her… [all …]
|
D | importCallExpressionInAMD1.types | 1 === tests/cases/conformance/dynamicImport/0.ts === 6 === tests/cases/conformance/dynamicImport/1.ts === 8 >import("./0") : Promise<typeof import("tests/cases/conformance/dynamicImport/0")> 12 >p1 : Promise<typeof import("tests/cases/conformance/dynamicImport/0")> 13 >import("./0") : Promise<typeof import("tests/cases/conformance/dynamicImport/0")> 18 …ts/cases/conformance/dynamicImport/0"), TResult2 = never>(onfulfilled?: (value: typeof import("tes… 19 >p1 : Promise<typeof import("tests/cases/conformance/dynamicImport/0")> 20 …ts/cases/conformance/dynamicImport/0"), TResult2 = never>(onfulfilled?: (value: typeof import("tes… 21 >zero => { return zero.foo();} : (zero: typeof import("tests/cases/conformance/dynamicImport/0")… 22 >zero : typeof import("tests/cases/conformance/dynamicImport/0") [all …]
|
D | importCallExpressionInCJS1.types | 1 === tests/cases/conformance/dynamicImport/0.ts === 6 === tests/cases/conformance/dynamicImport/1.ts === 8 >import("./0") : Promise<typeof import("tests/cases/conformance/dynamicImport/0")> 12 >p1 : Promise<typeof import("tests/cases/conformance/dynamicImport/0")> 13 >import("./0") : Promise<typeof import("tests/cases/conformance/dynamicImport/0")> 18 …ts/cases/conformance/dynamicImport/0"), TResult2 = never>(onfulfilled?: (value: typeof import("tes… 19 >p1 : Promise<typeof import("tests/cases/conformance/dynamicImport/0")> 20 …ts/cases/conformance/dynamicImport/0"), TResult2 = never>(onfulfilled?: (value: typeof import("tes… 21 >zero => { return zero.foo();} : (zero: typeof import("tests/cases/conformance/dynamicImport/0")… 22 >zero : typeof import("tests/cases/conformance/dynamicImport/0") [all …]
|
D | importCallExpressionInUMD1.types | 1 === tests/cases/conformance/dynamicImport/0.ts === 6 === tests/cases/conformance/dynamicImport/1.ts === 8 >import("./0") : Promise<typeof import("tests/cases/conformance/dynamicImport/0")> 12 >p1 : Promise<typeof import("tests/cases/conformance/dynamicImport/0")> 13 >import("./0") : Promise<typeof import("tests/cases/conformance/dynamicImport/0")> 18 …ts/cases/conformance/dynamicImport/0"), TResult2 = never>(onfulfilled?: (value: typeof import("tes… 19 >p1 : Promise<typeof import("tests/cases/conformance/dynamicImport/0")> 20 …ts/cases/conformance/dynamicImport/0"), TResult2 = never>(onfulfilled?: (value: typeof import("tes… 21 >zero => { return zero.foo();} : (zero: typeof import("tests/cases/conformance/dynamicImport/0")… 22 >zero : typeof import("tests/cases/conformance/dynamicImport/0") [all …]
|
D | importCallExpressionInSystem1.types | 1 === tests/cases/conformance/dynamicImport/0.ts === 6 === tests/cases/conformance/dynamicImport/1.ts === 8 >import("./0") : Promise<typeof import("tests/cases/conformance/dynamicImport/0")> 12 >p1 : Promise<typeof import("tests/cases/conformance/dynamicImport/0")> 13 >import("./0") : Promise<typeof import("tests/cases/conformance/dynamicImport/0")> 18 …ts/cases/conformance/dynamicImport/0"), TResult2 = never>(onfulfilled?: (value: typeof import("tes… 19 >p1 : Promise<typeof import("tests/cases/conformance/dynamicImport/0")> 20 …ts/cases/conformance/dynamicImport/0"), TResult2 = never>(onfulfilled?: (value: typeof import("tes… 21 >zero => { return zero.foo();} : (zero: typeof import("tests/cases/conformance/dynamicImport/0")… 22 >zero : typeof import("tests/cases/conformance/dynamicImport/0") [all …]
|
D | importCallExpression1ES2020.types | 1 === tests/cases/conformance/dynamicImport/0.ts === 6 === tests/cases/conformance/dynamicImport/1.ts === 8 >import("./0") : Promise<typeof import("tests/cases/conformance/dynamicImport/0")> 12 >p1 : Promise<typeof import("tests/cases/conformance/dynamicImport/0")> 13 >import("./0") : Promise<typeof import("tests/cases/conformance/dynamicImport/0")> 18 …ts/cases/conformance/dynamicImport/0"), TResult2 = never>(onfulfilled?: (value: typeof import("tes… 19 >p1 : Promise<typeof import("tests/cases/conformance/dynamicImport/0")> 20 …ts/cases/conformance/dynamicImport/0"), TResult2 = never>(onfulfilled?: (value: typeof import("tes… 21 >zero => { return zero.foo();} : (zero: typeof import("tests/cases/conformance/dynamicImport/0")… 22 >zero : typeof import("tests/cases/conformance/dynamicImport/0") [all …]
|
D | importCallExpressionErrorInES2015.types | 1 === tests/cases/conformance/dynamicImport/0.ts === 6 === tests/cases/conformance/dynamicImport/1.ts === 8 >import("./0") : Promise<typeof import("tests/cases/conformance/dynamicImport/0")> 12 >p1 : Promise<typeof import("tests/cases/conformance/dynamicImport/0")> 13 >import("./0") : Promise<typeof import("tests/cases/conformance/dynamicImport/0")> 18 …ts/cases/conformance/dynamicImport/0"), TResult2 = never>(onfulfilled?: (value: typeof import("tes… 19 >p1 : Promise<typeof import("tests/cases/conformance/dynamicImport/0")> 20 …ts/cases/conformance/dynamicImport/0"), TResult2 = never>(onfulfilled?: (value: typeof import("tes… 21 >zero => { return zero.foo();} : (zero: typeof import("tests/cases/conformance/dynamicImport/0")… 22 >zero : typeof import("tests/cases/conformance/dynamicImport/0") [all …]
|
D | importCallExpressionNoModuleKindSpecified.types | 1 === tests/cases/conformance/dynamicImport/0.ts === 14 === tests/cases/conformance/dynamicImport/1.ts === 19 === tests/cases/conformance/dynamicImport/2.ts === 27 >myModule : Promise<typeof import("tests/cases/conformance/dynamicImport/0")> 28 >import("./0") : Promise<typeof import("tests/cases/conformance/dynamicImport/0")> 35 >loadAsync : Promise<typeof import("tests/cases/conformance/dynamicImport/0")> 36 >import("./0") : Promise<typeof import("tests/cases/conformance/dynamicImport/0")> 41 …ts/cases/conformance/dynamicImport/0"), TResult2 = never>(onfulfilled?: (value: typeof import("tes… 42 >this.myModule : Promise<typeof import("tests/cases/conformance/dynamicImport/0")> 44 >myModule : Promise<typeof import("tests/cases/conformance/dynamicImport/0")> [all …]
|
D | importCallExpression4ES2020.types | 1 === tests/cases/conformance/dynamicImport/0.ts === 14 === tests/cases/conformance/dynamicImport/1.ts === 19 === tests/cases/conformance/dynamicImport/2.ts === 27 >myModule : Promise<typeof import("tests/cases/conformance/dynamicImport/0")> 28 >import("./0") : Promise<typeof import("tests/cases/conformance/dynamicImport/0")> 35 >loadAsync : Promise<typeof import("tests/cases/conformance/dynamicImport/0")> 36 >import ("./0") : Promise<typeof import("tests/cases/conformance/dynamicImport/0")> 41 …ts/cases/conformance/dynamicImport/0"), TResult2 = never>(onfulfilled?: (value: typeof import("tes… 42 >this.myModule : Promise<typeof import("tests/cases/conformance/dynamicImport/0")> 44 >myModule : Promise<typeof import("tests/cases/conformance/dynamicImport/0")> [all …]
|
D | importCallExpressionAsyncES6AMD.types | 1 === tests/cases/conformance/dynamicImport/test.ts === 6 >req : typeof import("tests/cases/conformance/dynamicImport/test") 7 >await import('./test') : typeof import("tests/cases/conformance/dynamicImport/test") 8 >import('./test') : Promise<typeof import("tests/cases/conformance/dynamicImport/test")> 19 >req : typeof import("tests/cases/conformance/dynamicImport/test") 20 >await import('./test') : typeof import("tests/cases/conformance/dynamicImport/test") 21 >import('./test') : Promise<typeof import("tests/cases/conformance/dynamicImport/test")> 35 >req : typeof import("tests/cases/conformance/dynamicImport/test") 36 >await import('./test') : typeof import("tests/cases/conformance/dynamicImport/test") 37 >import('./test') : Promise<typeof import("tests/cases/conformance/dynamicImport/test")> [all …]
|
D | importCallExpressionAsyncES5AMD.types | 1 === tests/cases/conformance/dynamicImport/test.ts === 6 >req : typeof import("tests/cases/conformance/dynamicImport/test") 7 >await import('./test') : typeof import("tests/cases/conformance/dynamicImport/test") 8 >import('./test') : Promise<typeof import("tests/cases/conformance/dynamicImport/test")> 19 >req : typeof import("tests/cases/conformance/dynamicImport/test") 20 >await import('./test') : typeof import("tests/cases/conformance/dynamicImport/test") 21 >import('./test') : Promise<typeof import("tests/cases/conformance/dynamicImport/test")> 35 >req : typeof import("tests/cases/conformance/dynamicImport/test") 36 >await import('./test') : typeof import("tests/cases/conformance/dynamicImport/test") 37 >import('./test') : Promise<typeof import("tests/cases/conformance/dynamicImport/test")> [all …]
|
D | importCallExpressionAsyncES3System.types | 1 === tests/cases/conformance/dynamicImport/test.ts === 6 >req : typeof import("tests/cases/conformance/dynamicImport/test") 7 >await import('./test') : typeof import("tests/cases/conformance/dynamicImport/test") 8 >import('./test') : Promise<typeof import("tests/cases/conformance/dynamicImport/test")> 19 >req : typeof import("tests/cases/conformance/dynamicImport/test") 20 >await import('./test') : typeof import("tests/cases/conformance/dynamicImport/test") 21 >import('./test') : Promise<typeof import("tests/cases/conformance/dynamicImport/test")> 35 >req : typeof import("tests/cases/conformance/dynamicImport/test") 36 >await import('./test') : typeof import("tests/cases/conformance/dynamicImport/test") 37 >import('./test') : Promise<typeof import("tests/cases/conformance/dynamicImport/test")> [all …]
|
D | importCallExpressionAsyncES3CJS.types | 1 === tests/cases/conformance/dynamicImport/test.ts === 6 >req : typeof import("tests/cases/conformance/dynamicImport/test") 7 >await import('./test') : typeof import("tests/cases/conformance/dynamicImport/test") 8 >import('./test') : Promise<typeof import("tests/cases/conformance/dynamicImport/test")> 19 >req : typeof import("tests/cases/conformance/dynamicImport/test") 20 >await import('./test') : typeof import("tests/cases/conformance/dynamicImport/test") 21 >import('./test') : Promise<typeof import("tests/cases/conformance/dynamicImport/test")> 35 >req : typeof import("tests/cases/conformance/dynamicImport/test") 36 >await import('./test') : typeof import("tests/cases/conformance/dynamicImport/test") 37 >import('./test') : Promise<typeof import("tests/cases/conformance/dynamicImport/test")> [all …]
|
1234567