TypeScript/tests/cases/compiler/errorHandlingInInstanceOf.ts
2014-09-24 09:10:40 -07:00

6 lines
80 B
TypeScript

if (x instanceof String) {
}
var y: any;
if (y instanceof UnknownType) {
}