* Check extends tag first in getClassExtendsHeritageClauseElement Previously getBaseTypeNodeOfClass checked, but this is only used in a few places. * Fix names and add test * Update API baseline * Move jsdocAugments tests to conformance/jsdoc * Better naming in checkClassLikeDeclaration
14 lines
213 B
TypeScript
14 lines
213 B
TypeScript
// @allowJs: true
|
|
// @checkJs: true
|
|
// @noEmit: true
|
|
|
|
// @Filename: /a.d.ts
|
|
declare class A<T> { x: T }
|
|
|
|
// @Filename: /b.js
|
|
/** @augments A<number> */
|
|
class B extends A {
|
|
m() {
|
|
return this.x;
|
|
}
|
|
}
|