Suggestion: output of JSXChildren #31462
Labels
Awaiting More Feedback
This means we'd like to hear from more people who would be helped by this feature
Suggestion
An idea for TypeScript
Search Terms
Suggestion
Therefore, it is better to allow the output of JSXChildren to be configured.
There will of course be a lot more details when we get started for real, but these sketches should give us a rough idea of the design.
We could add an option to tsconfig.json such as compilerOptions.JSXChildren:
Use Cases
It will improve compatibility with some JSX libraries.
Examples
input
compilerOptions.JSXChildren : "classic"
compilerOptions.JSXChildren : "onechild"
compilerOptions.JSXChildren : "array"
Please ignore the format style :)
Checklist
My suggestion meets these guidelines:
The text was updated successfully, but these errors were encountered: