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