mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 10:28:47 +00:00
Update tsconfig-paths.md (#5593)
Change string:string mapping in the docs to match the expected string:array[string] mapping. See: https://www.typescriptlang.org/tsconfig#paths
This commit is contained in:
@@ -8,8 +8,8 @@ Bun reads the `paths` field in your `tsconfig.json` to re-write import paths. Th
|
||||
{
|
||||
"compilerOptions": {
|
||||
"paths": {
|
||||
"my-custom-name": "zod",
|
||||
"@components/*": "./src/components/*"
|
||||
"my-custom-name": ["zod"],
|
||||
"@components/*": ["./src/components/*"]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user