Skip to content

Commit

Permalink
Update type definitions
Browse files Browse the repository at this point in the history
Export type definitions so that requiring moment-business-days instead
of moment will still serve all the definitions to TypeScript.
  • Loading branch information
mcdado committed Nov 13, 2018
1 parent ed5601d commit 450f8ee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,5 @@ declare module 'moment' {
holidayFormat?: string;
}
}

export = moment;

0 comments on commit 450f8ee

Please sign in to comment.