swc/crates/swc_ecma_parser/tests/tsc/declarationEmitThisPredicatesWithPrivateName01.ts

11 lines
146 B
TypeScript

// @declaration: true
// @module: commonjs
export class C {
m(): this is D {
return this instanceof D;
}
}
class D extends C {
}