TypeScript · Emit
importHelpers
Allow importing helper functions from tslib once per project, instead of including them per-file.
Syntax
"importHelpers": trueExample
Example
{
"compilerOptions": {
"importHelpers": 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.