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.
20 lines
335 B
TypeScript
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 {
|
|
}
|