change init

This commit is contained in:
nvms 2024-10-13 19:05:26 -04:00
parent 9ec632ec2d
commit 76d0188dc4

View File

@ -119,7 +119,9 @@ func InitProject() {
if err := os.WriteFile(tsconfigJsonPath, []byte(`{
"compilerOptions": {
"module": "ES2022",
"target": "ESNext"
"target": "ESNext",
"experimentalDecorators": true,
"emitDecoratorMetadata": true
}
}`), 0644); err != nil {
Die("failed to write tsconfig.json: %v", err)