mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
15 lines
451 B
Plaintext
15 lines
451 B
Plaintext
errorHandlingInInstanceOf.ts(1,5): error TS2304: Cannot find name 'x'.
|
|
errorHandlingInInstanceOf.ts(5,18): error TS2304: Cannot find name 'UnknownType'.
|
|
|
|
|
|
==== errorHandlingInInstanceOf.ts (2 errors) ====
|
|
if (x instanceof String) {
|
|
~
|
|
!!! error TS2304: Cannot find name 'x'.
|
|
}
|
|
|
|
var y: any;
|
|
if (y instanceof UnknownType) {
|
|
~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'UnknownType'.
|
|
} |