From 80e1f32ca1236dcf6f7ed559c596afbced0f8f3a Mon Sep 17 00:00:00 2001 From: Ethan Steere <62357808+e253@users.noreply.github.com> Date: Sun, 17 Sep 2023 00:44:02 -0400 Subject: [PATCH] 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 --- docs/guides/runtime/tsconfig-paths.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/guides/runtime/tsconfig-paths.md b/docs/guides/runtime/tsconfig-paths.md index 5c3f591f59..176051d5a2 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/*"] } } }