mirror of
https://github.com/github/codeql.git
synced 2026-05-04 21:25:44 +02:00
prevent crash when TemplateLiteral is used in import
This commit is contained in:
3
javascript/extractor/tests/ts/input/importNonStrings.ts
Normal file
3
javascript/extractor/tests/ts/input/importNonStrings.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
type X = import(3);
|
||||
type Y = import(`Foo`);
|
||||
type Z = import(Y);
|
||||
Reference in New Issue
Block a user