Skip to content

Commit

Permalink
Add @js to separate from @ path windwalker-io/core#1212
Browse files Browse the repository at this point in the history
  • Loading branch information
asika32764 committed Jan 23, 2024
1 parent 56b11e2 commit 658d7c8
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 10 deletions.
2 changes: 2 additions & 0 deletions resources/assets/src/types/foo.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@


5 changes: 1 addition & 4 deletions tsconfig.js.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@
"allowJs": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"noEmit": false,
"paths": {
"@/*": ["./resources/assets/*"]
}
"noEmit": false
}
}
11 changes: 9 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
{
"extends": [
"./tsconfig.vue.json",
"./tsconfig.js.json",
]
"./tsconfig.vue.json"
],
"compilerOptions": {
"paths": {
"@/*": ["./resources/assets/"],
"@js/*": ["./resources/assets/src/*"],
"@vue/*": ["./resources/assets/vue/*"]
}
}
}
5 changes: 1 addition & 4 deletions tsconfig.vue.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@
"compilerOptions": {
"allowJs": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"paths": {
"@/*": ["./resources/assets/vue/*"]
}
"experimentalDecorators": true
}
}

0 comments on commit 658d7c8

Please sign in to comment.