Problems with moment.d.ts in v2.18.1

0 Comments

When you target “es5” in TypeScript and use namespaces instead of import statements, the moment.d.ts delivered with v2.18.1 will not work for you. You must comment the last row in the file: export = moment;