Repository navigation
Fix https://github.com/Microsoft/TypeScript/issues/11870: Do not failon empty file list diagnostic messages - #226
Conversation
|
Thanks. I think this looks good, I'll merge this and make a new release ASAP, sounds like TypeScript relies on it. I didn't expect that feature to be used like that 😄 FWIW, would it make more sense for these sorts of checks to be done at a higher level like the CLI/server instead? I think this will be an edge-case that'll come up for every compiler tool such as Also, the original issue (microsoft/TypeScript#11621) isn't really solved by this as one might have a single file in |
Originally reported in microsoft/TypeScript#11870.
Change microsoft/TypeScript#11743 added a new error for TS 2.1 if the
fileslist is empty, orinclude+excluderesult in an empty set.This breaks usage of ts-node.
@blakeembrey I could not find a better solution here, so appreciate your guidance.