mirror of
https://github.com/nvms/esr.git
synced 2025-12-16 06:40:52 +00:00
change init
This commit is contained in:
parent
9ec632ec2d
commit
76d0188dc4
@ -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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user