mirror of
https://github.com/github/codeql.git
synced 2026-04-28 02:05:14 +02:00
JS: Add regression tests for declared globals
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
import 'dummy';
|
||||
|
||||
declare var $: any;
|
||||
|
||||
function t() {
|
||||
$(window.name); // $ MISSING: Alert
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
import 'dummy';
|
||||
|
||||
declare var $: JQueryStatic;
|
||||
|
||||
function t() {
|
||||
$(window.name); // $ MISSING: Alert
|
||||
}
|
||||
Reference in New Issue
Block a user