TypeScript · Language and Environment
reactNamespace
Specify the object invoked for 'createElement'. This only applies when targeting 'react' JSX emit.
Syntax
"reactNamespace": "value"Example
Example
{
"compilerOptions": {
"reactNamespace": "value"
}
}More in this group
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.