Open lostfictions opened 4 years ago
Hi there, I'm trying to use sugar-date, but its typings don't appear to be exported properly, preventing its use in TypeScript:
sugar-date
Neither of these approaches work:
import { Date as d } from 'sugar-date';
import * as sugar from 'sugar-date';
They both yield this error:
File '/project/node_modules/sugar-date/sugar.d.ts' is not a module.ts(2306)
Bumping this.. I am having the same issue with sugar-inflections sugar-inflections/sugar.d.ts' is not a module.
sugar-inflections/sugar.d.ts' is not a module.
I ran into this issue today. Any news?
Hi there, I'm trying to use
sugar-date
, but its typings don't appear to be exported properly, preventing its use in TypeScript:Neither of these approaches work:
They both yield this error: