TypeScript · Language and Environment
moduleDetection
Control what method is used to detect module-format JS files.
Syntax
"moduleDetection": "auto"Example
Example
{
"compilerOptions": {
"moduleDetection": "auto"
}
}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.