One option for fixing it is to emit less modern code, which will reduce the amount of configuration needed by consumers. For example, if you target ES6 using the following settings in tsconfig. json : { "target": "ES6", "lib": ["DOM", "ES6", "DOM.
7.9m questions
10.6m answers