mirror of
https://github.com/swc-project/swc.git
synced 2024-12-26 23:27:56 +03:00
9 lines
227 B
TypeScript
9 lines
227 B
TypeScript
|
// @noEmit: true
|
||
|
// @allowJs: true
|
||
|
// @checkJs: true
|
||
|
// @Filename: bug27099.js
|
||
|
window.name = 1;
|
||
|
window.console; // should not have error: Property 'console' does not exist on type 'typeof window'.
|
||
|
module.exports = 'anything';
|
||
|
|