Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 4f67cc2

Browse files
committedJun 23, 2020
JS: Reduce ExpansiveTypes test
1 parent 234f968 commit 4f67cc2

File tree

6 files changed

+81
-46
lines changed

6 files changed

+81
-46
lines changed
 

‎javascript/ql/test/library-tests/TypeScript/ExpansiveTypes/ExpansiveTypes.expected

Lines changed: 0 additions & 29 deletions
This file was deleted.

‎javascript/ql/test/library-tests/TypeScript/ExpansiveTypes/ExpansiveTypes.ql

Lines changed: 0 additions & 11 deletions
This file was deleted.

‎javascript/ql/test/library-tests/TypeScript/ExpansiveTypes/NonExpansiveTypes.expected

Lines changed: 0 additions & 1 deletion
This file was deleted.

‎javascript/ql/test/library-tests/TypeScript/ExpansiveTypes/NonExpansiveTypes.ql

Lines changed: 0 additions & 5 deletions
This file was deleted.
Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
| After |
2+
| AfterX |
3+
| Before |
4+
| BeforeX |
5+
| Box<Expand<T[]>> |
6+
| Box<S> |
7+
| Box<S> |
8+
| Box<T[]> |
9+
| Box<number> |
10+
| C<T> |
11+
| C<T[]> |
12+
| Expand<T> |
13+
| Expand<T[]> |
14+
| ExpandUsingObjectLiteral<T> |
15+
| ExpandUsingObjectLiteral<T[]> |
16+
| Expansive<T> |
17+
| Expansive<T> |
18+
| Expansive<T[]> |
19+
| Expansive<T[]> |
20+
| Expansive<number> |
21+
| Expansive<string> |
22+
| ExpansiveA<S> |
23+
| ExpansiveA<S> |
24+
| ExpansiveA<T> |
25+
| ExpansiveA<T> |
26+
| ExpansiveB<S> |
27+
| ExpansiveB<S> |
28+
| ExpansiveB<T> |
29+
| ExpansiveB<T[]> |
30+
| ExpansiveB<T[]> |
31+
| ExpansiveB<number> |
32+
| ExpansiveByInference<T> |
33+
| ExpansiveByInference<T[]> |
34+
| ExpansiveC<T> |
35+
| ExpansiveC<T> |
36+
| ExpansiveC<T> |
37+
| ExpansiveC<T[]> |
38+
| ExpansiveC<T[]> |
39+
| ExpansiveC<number> |
40+
| ExpansiveConstructSignature<T> |
41+
| ExpansiveConstructSignature<T[]> |
42+
| ExpansiveD<T> |
43+
| ExpansiveD<T> |
44+
| ExpansiveD<T> |
45+
| ExpansiveD<T> |
46+
| ExpansiveFunctionType<T> |
47+
| ExpansiveFunctionType<T[]> |
48+
| ExpansiveMethod<T> |
49+
| ExpansiveMethod<T[]> |
50+
| ExpansiveParameter<T> |
51+
| ExpansiveParameter<T[]> |
52+
| ExpansiveSignature<T> |
53+
| ExpansiveSignature<T[]> |
54+
| ExpansiveSignatureTypeBound<T> |
55+
| ExpansiveSignatureTypeBound<T[]> |
56+
| ExpansiveX<T> |
57+
| ExpansiveX<T[]> |
58+
| NonExpansive<Box<number>> |
59+
| NonExpansive<T> |
60+
| T[] |
61+
| T[] |
62+
| T[] |
63+
| T[] |
64+
| T[] |
65+
| T[] |
66+
| T[] |
67+
| T[] |
68+
| T[] |
69+
| T[] |
70+
| T[] |
71+
| T[] |
72+
| T[] |
73+
| T[] |
74+
| T[] |
75+
| T[] |
76+
| T[] |
77+
| T[] |
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
import javascript
2+
3+
from TypeReference type
4+
select type

0 commit comments

Comments
 (0)
Please sign in to comment.