mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
Merge pull request #271 from asger-semmle/ts-expansive-types
TypeScript: test case for type expansion through function type parameter
This commit is contained in:
@@ -18,4 +18,5 @@
|
||||
| ExpansiveMethod in expansive_signature.ts | has no properties |
|
||||
| ExpansiveParameter in expansive_signature.ts | has no properties |
|
||||
| ExpansiveSignature in expansive_signature.ts | has no properties |
|
||||
| ExpansiveSignatureTypeBound in expansive_signature.ts | has no properties |
|
||||
| ExpansiveX in used_from_expansion.ts | has no properties |
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
| ExpansiveMethod in expansive_signature.ts | has properties |
|
||||
| ExpansiveParameter in expansive_signature.ts | has properties |
|
||||
| ExpansiveSignature in expansive_signature.ts | has properties |
|
||||
| ExpansiveSignatureTypeBound in expansive_signature.ts | has properties |
|
||||
| ExpansiveX in used_from_expansion.ts | has properties |
|
||||
| Function in global scope | has properties |
|
||||
| Intl.CollatorOptions in global scope | has properties |
|
||||
|
||||
@@ -19,3 +19,7 @@ interface ExpansiveMethod<T> {
|
||||
interface ExpansiveFunctionType<T> {
|
||||
x: () => ExpansiveFunctionType<T[]>;
|
||||
}
|
||||
|
||||
interface ExpansiveSignatureTypeBound<T> {
|
||||
foo : { <G extends ExpansiveSignatureTypeBound<T[]>>(x: G): G };
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user