Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit 2a276b5

Browse files
committed
Shim moment types with MomentFormatSpecification
Fixes compatibility issue with moment-timezone types.
1 parent b1d321a commit 2a276b5

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

typings/moment.d.ts

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import * as moment from "moment";
2+
3+
declare module "moment" {
4+
export type MomentFormatSpecification = string;
5+
}
6+
7+
export = moment;

0 commit comments

Comments
 (0)