aboutsummaryrefslogtreecommitdiff
path: root/docs/guides/runtime/tsconfig-paths.md
diff options
context:
space:
mode:
authorGravatar Ethan Steere <62357808+e253@users.noreply.github.com> 2023-09-17 00:44:02 -0400
committerGravatar GitHub <noreply@github.com> 2023-09-16 21:44:02 -0700
commit80e1f32ca1236dcf6f7ed559c596afbced0f8f3a (patch)
tree0925e0efbc924ad49bce9d2e0d7fcfddb190bee6 /docs/guides/runtime/tsconfig-paths.md
parenteca93d4257ef8d7435a614fdcc60b1c5511bba90 (diff)
downloadbun-80e1f32ca1236dcf6f7ed559c596afbced0f8f3a.tar.gz
bun-80e1f32ca1236dcf6f7ed559c596afbced0f8f3a.tar.zst
bun-80e1f32ca1236dcf6f7ed559c596afbced0f8f3a.zip
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
Diffstat (limited to 'docs/guides/runtime/tsconfig-paths.md')
-rw-r--r--docs/guides/runtime/tsconfig-paths.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/guides/runtime/tsconfig-paths.md b/docs/guides/runtime/tsconfig-paths.md
index 5c3f591f5..176051d5a 100644
--- a/docs/guides/runtime/tsconfig-paths.md
+++ b/docs/guides/runtime/tsconfig-paths.md
@@ -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/*"]
}
}
}