TypeScript · Language and Environment

jsxImportSource

Specify module specifier used to import the JSX factory functions when using 'jsx: react-jsx*'.

Syntax
"jsxImportSource": "value"

Example

Example
{
  "compilerOptions": {
    "jsxImportSource": "value"
  }
}

More in this group

emitDecoratorMetadata experimentalDecorators jsx jsxFactory jsxFragmentFactory libReplacement moduleDetection noLib

Learn this in the course

Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.

Open the course