Home
last modified time | relevance | path

Searched refs:dynamicImport (Results 1 – 25 of 166) sorted by relevance

1234567

/third_party/typescript/tests/baselines/reference/
DimportCallExpressionInSystem4.types1 === 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 …]
DimportCallExpressionInUMD4.types1 === 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 …]
DimportCallExpressionInAMD4.types1 === 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 …]
DimportCallExpressionInCJS5.types1 === 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 …]
DimportCallExpressionES6AMD.types1 === 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 …]
DimportCallExpressionES6System.types1 === 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 …]
DimportCallExpressionES5System.types1 === 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 …]
DimportCallExpressionES5CJS.types1 === 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 …]
DimportCallExpressionES5AMD.types1 === 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 …]
DimportCallExpressionES5UMD.types1 === 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 …]
DimportCallExpressionES6CJS.types1 === 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 …]
DimportCallExpressionES6UMD.types1 === 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 …]
DimportCallExpressionCheckReturntype1.errors.txt1dynamicImport/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…
3dynamicImport/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 …]
DimportCallExpressionInAMD1.types1 === 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 …]
DimportCallExpressionInCJS1.types1 === 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 …]
DimportCallExpressionInUMD1.types1 === 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 …]
DimportCallExpressionInSystem1.types1 === 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 …]
DimportCallExpression1ES2020.types1 === 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 …]
DimportCallExpressionErrorInES2015.types1 === 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 …]
DimportCallExpressionNoModuleKindSpecified.types1 === 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 …]
DimportCallExpression4ES2020.types1 === 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 …]
DimportCallExpressionAsyncES6AMD.types1 === 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 …]
DimportCallExpressionAsyncES5AMD.types1 === 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 …]
DimportCallExpressionAsyncES3System.types1 === 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 …]
DimportCallExpressionAsyncES3CJS.types1 === 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