Skip to content

Commit

Permalink
fix: number weekDay/Type
Browse files Browse the repository at this point in the history
  • Loading branch information
afeiship committed Jan 30, 2024
1 parent 990e272 commit 006a308
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ type WeekIndex = 0 | 1 | 2 | 3 | 4 | 5 | 6;

interface NxStatic {
Weeks: {
at: (index: WeekIndex, type: WeekType) => string;
day: (target: WeekDay | Date, type: WeekType) => string;
}
at: (index: WeekIndex | number, type: WeekType) => string;
day: (target: WeekDay | number | Date, type: WeekType) => string;
};
}

0 comments on commit 006a308

Please sign in to comment.