mirror of
https://github.com/nvms/esr.git
synced 2025-12-16 14:40:53 +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(`{
|
if err := os.WriteFile(tsconfigJsonPath, []byte(`{
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"module": "ES2022",
|
"module": "ES2022",
|
||||||
"target": "ESNext"
|
"target": "ESNext",
|
||||||
|
"experimentalDecorators": true,
|
||||||
|
"emitDecoratorMetadata": true
|
||||||
}
|
}
|
||||||
}`), 0644); err != nil {
|
}`), 0644); err != nil {
|
||||||
Die("failed to write tsconfig.json: %v", err)
|
Die("failed to write tsconfig.json: %v", err)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user