Skip to content

Commit

Permalink
fix: Fix type issue with ManipulateType (#1864)
Browse files Browse the repository at this point in the history
  • Loading branch information
SpencerKaiser authored May 6, 2022
1 parent 27d1c50 commit d033dfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ declare namespace dayjs {

export type OpUnitType = UnitType | "week" | "weeks" | 'w';
export type QUnitType = UnitType | "quarter" | "quarters" | 'Q';
export type ManipulateType = Omit<OpUnitType, 'date' | 'dates'>;
export type ManipulateType = Exclude<OpUnitType, 'date' | 'dates'>;
class Dayjs {
constructor (config?: ConfigType)
/**
Expand Down

0 comments on commit d033dfc

Please sign in to comment.