mirror of
https://github.com/swc-project/swc.git
synced 2024-12-03 00:54:25 +03:00
19 lines
351 B
TypeScript
19 lines
351 B
TypeScript
// @allowJs: true
|
|
// @checkJs: true
|
|
// @outDir: /out
|
|
// @lib: es6
|
|
// @declaration: true
|
|
// @filename: index.js
|
|
export class Super {
|
|
/**
|
|
* @param {string} firstArg
|
|
* @param {string} secondArg
|
|
*/
|
|
constructor(firstArg, secondArg) { }
|
|
}
|
|
|
|
export class Sub extends Super {
|
|
constructor() {
|
|
super('first', 'second');
|
|
}
|
|
} |