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
{{ message }}
Repository navigation
Entry points fail without import/export statements #357
This isn't an issue with ts-node. Most likely the different issues have appeared or disappeared based on you updating external factors such as TypeScript or node.js. If I compile using tsc, there's no error from TypeScript and I can easily see why this is an error:
@blakeembrey Thanks for the clarification, it makes sense. I've encountered some mentions of this TS trait like microsoft/TypeScript#12167 , still looks obscure and bug-like.
It's unfortunate though. You'd think TypeScript would flag this as an error, but I suppose "technically" you did ask for noEmitHelpers and importHelpers doesn't make sense for a global script.
Activity
blakeembrey commentedon Jun 15, 2017
This isn't an issue with
ts-node. Most likely the different issues have appeared or disappeared based on you updating external factors such as TypeScript or node.js. If I compile usingtsc, there's no error from TypeScript and I can easily see why this is an error:bisubus commentedon Jun 15, 2017
@blakeembrey Thanks for the clarification, it makes sense. I've encountered some mentions of this TS trait like microsoft/TypeScript#12167 , still looks obscure and bug-like.
blakeembrey commentedon Jun 15, 2017
It's unfortunate though. You'd think TypeScript would flag this as an error, but I suppose "technically" you did ask for
noEmitHelpersandimportHelpersdoesn't make sense for a global script.