TypeScript · JavaScript Support
allowJs
Allow JavaScript files to be a part of your program. Use the 'checkJs' option to get errors from these files.
Syntax
"allowJs": trueExample
Example
{
"compilerOptions": {
"allowJs": true
}
}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.