Closed
Description
Bug Report
π Search Terms
TS 4.4 beta commonjs
π Version & Regression Information
- This changed between versions 4.3.5 and 4.4.0-beta
β― Playground Link
Playground link with relevant code
π» Code
import {render} from 'less';
render('input', () => {});
π Actual behavior
render
is called with a this
of Window
Emit is
(0, less_1.render)('input', () => { });
π Expected behavior
render
is called with a this
of require('less')
Emit should be
less_1.render('input', () => { });
It looks like this was caused by #44624.