I added this to package.json...
"starry.map": "3.0.0",
"starry.group-by": "3.0.1",
"starry.filter": "3.0.0"
What is easiest way to add to my TypeScript files? I've tried this...
import * as filter from 'starry.filter';
import * as groupBy from 'starry.group-by';
import * as map from 'starry.map';
And it all auto-completes and does IntelliSense fine, EXCEPT for red squiggly under the GroupBy import. I get this error...
Module '"c:/Users/justi/source/repos/gtd/node_modules/starry.group-by/index"' resolves to a non-module entity and cannot be imported using this construct.
Not sure why groupBy gives a problem but the other ones work fine. Also, it is tedious to import each function that way. Is there a shorthand? I'm just learning TypeScript.
I added this to package.json...
What is easiest way to add to my TypeScript files? I've tried this...
And it all auto-completes and does IntelliSense fine, EXCEPT for red squiggly under the GroupBy import. I get this error...
Module '"c:/Users/justi/source/repos/gtd/node_modules/starry.group-by/index"' resolves to a non-module entity and cannot be imported using this construct.Not sure why groupBy gives a problem but the other ones work fine. Also, it is tedious to import each function that way. Is there a shorthand? I'm just learning TypeScript.