You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
No overload matches this call.
Overload 1 of 2, '(value: number, unit: QUnitType): Dayjs', gave the following error.
Argument of type 'TimeIntervalType' is not assignable to parameter of type 'QUnitType'.
Type '"week"' is not assignable to type 'QUnitType'.
Overload 2 of 2, '(value: number, unit?: ManipulateType | undefined): Dayjs', gave the following error.
Argument of type 'TimeIntervalType' is not assignable to parameter of type 'ManipulateType | undefined'.
Type '"quarter"' is not assignable to type 'ManipulateType | undefined'.ts(2769)
Expected behavior
No typescript errors are expected, but now there are errors.
Information
Day.js Version: 1.11.7
OS: Mac
Browser: Chrome
Time zone: GMT+0530 (India Standard Time)
The text was updated successfully, but these errors were encountered:
Describe the bug
quarter and week not supported in when using quarterOfYear plugin
See error from example https://codesandbox.io/s/dayjs-types-forked-v4t64b?file=/src/index.ts
Expected behavior
No typescript errors are expected, but now there are errors.
Information
The text was updated successfully, but these errors were encountered: