0f55566cf4
* 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
13 lines
187 B
TypeScript
13 lines
187 B
TypeScript
// @allowJs: true
|
|
// @checkJs: true
|
|
// @noEmit: true
|
|
|
|
// @Filename: /b.js
|
|
class A { constructor() { this.x = 0; } }
|
|
|
|
/** @augments A */
|
|
class B {
|
|
m() {
|
|
return this.x;
|
|
}
|
|
}
|