You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had a question about why this decision was chosen: Only use a CommonJS export for the TypeScript definition You need to change import yn from 'yn'; to import yn = require('yn');
Is the best practice now to disallow ECMASCRIPT imports as you have done in version 4 by not exposing import?
And what causes the import yn = syntax to work. Shouldn't it be const yn = if it's true common-js?
The text was updated successfully, but these errors were encountered:
I had a question about why this decision was chosen:
Only use a CommonJS export for the TypeScript definition You need to change import yn from 'yn'; to import yn = require('yn');
Is the best practice now to disallow ECMASCRIPT imports as you have done in version 4 by not exposing import?
And what causes the
import yn =
syntax to work. Shouldn't it beconst yn =
if it's true common-js?The text was updated successfully, but these errors were encountered: