mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
11 lines
379 B
Plaintext
11 lines
379 B
Plaintext
bug27099.js(1,1): error TS2322: Type 'number' is not assignable to type 'string'.
|
|
|
|
|
|
==== bug27099.js (1 errors) ====
|
|
window.name = 1;
|
|
~~~~~~~~~~~
|
|
!!! error TS2322: Type 'number' is not assignable to type 'string'.
|
|
window.console; // should not have error: Property 'console' does not exist on type 'typeof window'.
|
|
module.exports = 'anything';
|
|
|
|
|