Skip to content

Commit

Permalink
fix: can't use @ alias
Browse files Browse the repository at this point in the history
  • Loading branch information
changfeng committed Dec 29, 2022
1 parent aad9001 commit 8f4e247
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,11 @@

// 下面这些选项对 babel 编译 TypeScript 没有作用但是可以让 VSCode 等编辑器正确提示错误
"target": "ES2022",
"module": "ESNext"
"module": "ESNext",
"paths": {
"@/*": ["./*"]
}
},

"exclude": ["manifest.ts"]
}

0 comments on commit 8f4e247

Please sign in to comment.