35 lines
375 B
TypeScript
35 lines
375 B
TypeScript
//// [foo.js]
|
|
/**
|
|
* @constructor
|
|
*/
|
|
class A {
|
|
constructor() {}
|
|
}
|
|
|
|
/**
|
|
* @extends {A}
|
|
* @constructor
|
|
*/
|
|
class B extends A {
|
|
constructor() {
|
|
super();
|
|
}
|
|
}
|
|
|
|
|
|
//// [foo.js]
|
|
/**
|
|
* @constructor
|
|
*/
|
|
class A {
|
|
constructor() { }
|
|
}
|
|
/**
|
|
* @extends {A}
|
|
* @constructor
|
|
*/
|
|
class B extends A {
|
|
constructor() {
|
|
super();
|
|
}
|
|
}
|