26 lines
503 B
Plaintext
26 lines
503 B
Plaintext
=== tests/cases/conformance/jsdoc/declarations/index.js ===
|
|
export class Super {
|
|
>Super : Super
|
|
|
|
/**
|
|
* @param {string} firstArg
|
|
* @param {string} secondArg
|
|
*/
|
|
constructor(firstArg, secondArg) { }
|
|
>firstArg : string
|
|
>secondArg : string
|
|
}
|
|
|
|
export class Sub extends Super {
|
|
>Sub : Sub
|
|
>Super : Super
|
|
|
|
constructor() {
|
|
super('first', 'second');
|
|
>super('first', 'second') : void
|
|
>super : typeof Super
|
|
>'first' : "first"
|
|
>'second' : "second"
|
|
}
|
|
}
|