From f373a20a6f2842cbc48c966278cffdcd334c683c Mon Sep 17 00:00:00 2001 From: Kenta Moriuchi Date: Mon, 24 Feb 2025 18:49:32 +0900 Subject: [PATCH] fix(cli): add `compilerOptions.lib` examples to config-file.v1.json (#28226) closes #28222 --- cli/schemas/config-file.v1.json | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/cli/schemas/config-file.v1.json b/cli/schemas/config-file.v1.json index cf2ad3cb3d..3bf53b3099 100644 --- a/cli/schemas/config-file.v1.json +++ b/cli/schemas/config-file.v1.json @@ -111,7 +111,35 @@ "uniqueItems": true, "default": ["deno.window"], "items": { - "type": "string" + "type": "string", + "examples": [ + "deno.ns", + "deno.window", + "deno.worker", + "deno.unstable", + "dom", + "dom.iterable", + "dom.asynciterable", + "webworker", + "webworker.importscripts", + "webworker.iterable", + "webworker.asynciterable", + "scripthost", + "decorators", + "decorators.legacy", + "es5", + "es2015", + "es2016", + "es2017", + "es2018", + "es2019", + "es2020", + "es2021", + "es2022", + "es2023", + "es2024", + "esnext" + ] }, "markdownDescription": "Specify a set of bundled library declaration files that describe the target runtime environment.\n\nSee more: https://www.typescriptlang.org/tsconfig#lib" },