From 163912b68a5fd8ca0d91ef06058828fbd3e840aa Mon Sep 17 00:00:00 2001 From: keito <131662659+mst-mkt@users.noreply.github.com> Date: Thu, 7 Nov 2024 04:12:12 +0900 Subject: [PATCH] fix incorrect config schema in Docs (`TypeSpecProjectSchema.output-dir`) (#4965) ## description The schema that was incorrectly referred to as `boolean` in the documentation has been corrected to the correct one. ## referense - relevant code https://github.com/microsoft/typespec/blob/78140e410dc727d0daa80993c9df4a0db763bcb5/website/src/content/docs/docs/handbook/configuration/configuration.md?plain=1#L32 - schema source code https://github.com/microsoft/typespec/blob/78140e410dc727d0daa80993c9df4a0db763bcb5/packages/compiler/src/config/config-schema.ts#L46-L49 --- .../content/docs/docs/handbook/configuration/configuration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/src/content/docs/docs/handbook/configuration/configuration.md b/website/src/content/docs/docs/handbook/configuration/configuration.md index 367f502bef..5d51be6d27 100644 --- a/website/src/content/docs/docs/handbook/configuration/configuration.md +++ b/website/src/content/docs/docs/handbook/configuration/configuration.md @@ -29,7 +29,7 @@ model TypeSpecProjectSchema { parameters?: Record<{default: string}> "environment-variables"?: Record<{default: string}> "warn-as-error"?: boolean; - "output-dir"?: boolean; + "output-dir"?: string; "trace"?: string | string[]; imports?: string; emit?: string[];