TypeScript-TmLanguage/tests/cases/issue814.ts

9 строки
163 B
TypeScript

class A{}
class B{}
const a = new A()
const b = new B()
a instanceof A !== b instanceof B
a instanceof A > b instanceof B
a instanceof A & b instanceof B