mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
18 lines
333 B
TypeScript
18 lines
333 B
TypeScript
// @checkJs: true
|
|
// @noEmit: true
|
|
|
|
// https://github.com/microsoft/typescript-go/issues/3642
|
|
|
|
// @filename: main.js
|
|
export class CC {
|
|
constructor() {
|
|
this.stuffs = {}
|
|
}
|
|
/**
|
|
* @param {Object} stuffs
|
|
*/
|
|
addStuffs(stuffs) {
|
|
this.stuffs = { ...stuffs, ...this.stuffs }
|
|
}
|
|
}
|