File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed
javascript/ql/test/library-tests/TypeScript/EmbeddedInScript Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change 1
1
classDeclaration
2
2
| test.vue:3:18:5:3 | class M ... er;\\n } |
3
3
exprType
4
+ | htmlfile.html:4:22:4:24 | foo | () => void |
5
+ | htmlfile.html:4:22:4:24 | foo | () => void |
6
+ | htmlfile.html:4:33:4:41 | "./other" | any |
7
+ | htmlfile.html:5:17:5:22 | result | number[] |
8
+ | htmlfile.html:5:26:5:28 | foo | () => void |
9
+ | htmlfile.html:5:26:5:30 | foo() | void |
10
+ | htmlfile.html:5:26:5:42 | foo() as number[] | number[] |
4
11
| other.ts:1:8:1:16 | Component | typeof default in library-tests/TypeScript/EmbeddedInScript/test.vue |
5
12
| other.ts:1:23:1:34 | "./test.vue" | any |
6
13
| other.ts:3:1:3:15 | new Component() | MyComponent |
@@ -14,5 +21,6 @@ symbols
14
21
| other.ts:1:1:6:0 | <toplevel> | library-tests/TypeScript/EmbeddedInScript/other.ts |
15
22
| test.vue:2:3:6:0 | <toplevel> | library-tests/TypeScript/EmbeddedInScript/test.vue |
16
23
importTarget
24
+ | htmlfile.html:4:13:4:42 | import ... other"; | other.ts:1:1:6:0 | <toplevel> |
17
25
| other.ts:1:1:1:35 | import ... t.vue"; | test.vue:2:3:6:0 | <toplevel> |
18
26
| test.vue:2:3:2:35 | import ... other"; | other.ts:1:1:6:0 | <toplevel> |
Original file line number Diff line number Diff line change
1
+ < html >
2
+ < body >
3
+ < script type ="module " language ="typescript ">
4
+ import { foo } from "./other" ;
5
+ let result = foo ( ) as number [ ] ;
6
+ </ script >
7
+ </ body >
8
+ </ html >
You can’t perform that action at this time.
0 commit comments