TypeScript/tests/baselines/reference/extendsTagEmit.js
Nathan Shively-Sanders dabf2a6af2 Always check extends clause of classes
Even if (1) @extends is provided and (2) we're not producing
diagnostics. That's because we need to know whether the extends clause
references an imported alias.
2019-04-05 16:37:27 -07:00

20 lines
335 B
TypeScript

//// [tests/cases/conformance/jsdoc/extendsTagEmit.ts] ////
//// [super.js]
export class B { }
//// [main.js]
import { B } from './super'
/** @extends {Mismatch} */
class C extends B { }
//// [super.js]
export class B {
}
//// [main.js]
import { B } from './super';
/** @extends {Mismatch} */
class C extends B {
}