JS: Add regression tests for declared globals

This commit is contained in:
Asger F
2025-05-13 15:57:51 +02:00
parent b610e10122
commit 27979c6a2f
2 changed files with 14 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
import 'dummy';
declare var $: any;
function t() {
$(window.name); // $ MISSING: Alert
}

View File

@@ -0,0 +1,7 @@
import 'dummy';
declare var $: JQueryStatic;
function t() {
$(window.name); // $ MISSING: Alert
}