diff options
author | Luca Casonato <hello@lcas.dev> | 2024-04-30 20:12:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-30 18:12:35 +0000 |
commit | 6cdf81db7c4a41d036eefc17e41ffb8db0cf54a1 (patch) | |
tree | 6e21e240c12d8fc9856fbc342aab3d986e338e70 /cli/schemas | |
parent | 8c3f8ba13605d1c69eba4272179bce5ca0d10fe3 (diff) |
feat(cli): add support for jsxImportSourceTypes (#23419)
Co-authored-by: David Sherret <dsherret@gmail.com>
Diffstat (limited to 'cli/schemas')
-rw-r--r-- | cli/schemas/config-file.v1.json | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cli/schemas/config-file.v1.json b/cli/schemas/config-file.v1.json index a18894016..bfcae271b 100644 --- a/cli/schemas/config-file.v1.json +++ b/cli/schemas/config-file.v1.json @@ -76,6 +76,12 @@ "default": "react", "markdownDescription": "Specify module specifier used to import the JSX factory functions when using jsx: `react-jsx*`.\n\nSee more: https://www.typescriptlang.org/tsconfig/#jsxImportSource" }, + "jsxImportSourceTypes": { + "description": "Specify module specifier used to import the types for the JSX factory functions when using jsx: 'react-jsx*'. This is the logical equivalent of prefixing an import to the jsxImportSource with `// @deno-types=\"...\"`.", + "type": "string", + "default": "@types/react", + "markdownDescription": "Specify module specifier used to import the types for the JSX factory functions when using jsx: `react-jsx*`. This is the logical equivalent of prefixing an import to the jsxImportSource with `// @deno-types=\"...\"`." + }, "jsxPrecompileSkipElements": { "description": "Specify list of elements that should be exempt from being precompiled when the jsx 'precompile' transform is used.", "type": "array", |