Skip to content

Commit f159a57

Browse files
committed
Remove any type from input params definition
1 parent c6d84e9 commit f159a57

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

index.d.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,16 +46,11 @@ declare module 'moment' {
4646
interface MomentTimezone {
4747
(): moment.Moment;
4848
(timezone: string): moment.Moment;
49-
(date: number, timezone: string): moment.Moment;
50-
(date: number[], timezone: string): moment.Moment;
51-
(date: string, timezone: string): moment.Moment;
49+
(date: moment.MomentInput, timezone: string): moment.Moment;
5250
(date: string, format: moment.MomentFormatSpecification, timezone: string): moment.Moment;
5351
(date: string, format: moment.MomentFormatSpecification, strict: boolean, timezone: string): moment.Moment;
5452
(date: string, format: moment.MomentFormatSpecification, language: string, timezone: string): moment.Moment;
5553
(date: string, format: moment.MomentFormatSpecification, language: string, strict: boolean, timezone: string): moment.Moment;
56-
(date: Date, timezone: string): moment.Moment;
57-
(date: moment.Moment, timezone: string): moment.Moment;
58-
(date: any, timezone: string): moment.Moment;
5954

6055
version: string;
6156
dataVersion: string;

0 commit comments

Comments
 (0)