TypeScript Error: "The expression of an export assignment must be an identifier or qualified name in an ambient context."
axle07 opened this issue · comments
Alex commented
ERROR in /home/code/project/node_modules/sunrise-sunset-js/dist/index.d.ts(15,12):
15:12 The expression of an export assignment must be an identifier or qualified name in an ambient context.
13 | ): Date;
14 |
> 15 | export = { getSunrise, getSunset };
| ^
16 | }
Version: typescript 3.5.3
Time: 5257ms
allx commented
Thanks for pointing this out!
The PR mentioned above was merged, npm version bumped, pls check.