mirror of
https://github.com/swc-project/swc.git
synced 2024-12-26 15:12:08 +03:00
14 lines
240 B
TypeScript
14 lines
240 B
TypeScript
// @allowJs: true
|
|
// @checkJs: true
|
|
// @target: es5
|
|
// @outDir: ./out
|
|
// @declaration: true
|
|
// @filename: index.js
|
|
module.exports = class Thing {
|
|
/**
|
|
* @param {number} p
|
|
*/
|
|
constructor(p) {
|
|
this.t = 12 + p;
|
|
}
|
|
} |