6 lines
217 B
Plaintext
6 lines
217 B
Plaintext
==== tests/cases/compiler/typeofUnknownSymbol.ts (1 errors) ====
|
|
// previously gave no error here
|
|
var x = typeof whatsthis
|
|
~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'whatsthis'.
|
|
|