jsxRuntime pragma does not work #59340
Labels
feature-request
A request for a new feature
Fix Available
A PR has been opened for this issue
Needs Investigation
This issue needs a team member to investigate its status.
Milestone
π Search Terms
jsxRuntime
π Version & Regression Information
β― Playground Link
https://www.typescriptlang.org/play/?jsx=4&ts=5.6.0-dev.20240717#code/PQKgBAAgVgzgHgJQK4DsAuBLAtgUzAYwBsBDGGDfMEYAKBzgAcB7AJzQKZRnYAkdDCTAOqtCAEzABeMAAoAlFIB8YADwALAIyK+ApmADuosSuCbFAbiA
π» Code
π Actual behavior
The
jsxRuntime
pragma is not respected and function emit follows thejsx
option in the TSConfig.For example, with
"jsx": "react-jsx"
, the function is emitted asπ Expected behavior
The
jsxRuntime
pragma is respected and the function is emitted asAdditional information about the issue
The code above is copied verbatim from the TSConfig Reference
The text was updated successfully, but these errors were encountered: