mirror of
https://github.com/swc-project/swc.git
synced 2024-12-18 19:21:33 +03:00
15 lines
205 B
TypeScript
15 lines
205 B
TypeScript
class C { }
|
|
|
|
var x1: any;
|
|
var x2: Function;
|
|
|
|
var a: {};
|
|
var b: Object;
|
|
var c: C;
|
|
var d: string | C;
|
|
|
|
var r1 = a instanceof x1;
|
|
var r2 = b instanceof x2;
|
|
var r3 = c instanceof x1;
|
|
var r4 = d instanceof x1;
|