TypeScript · JavaScript Support
maxNodeModuleJsDepth
Specify the maximum folder depth used for checking JavaScript files from 'node_modules'. Only applicable with 'allowJs'.
Syntax
"maxNodeModuleJsDepth": 1Example
Example
{
"compilerOptions": {
"maxNodeModuleJsDepth": 1
}
}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.