From fa25838049f71af2f2b1e4fc288724509845fde4 Mon Sep 17 00:00:00 2001 From: henry <48340699+hYe0kjUn@users.noreply.github.com> Date: Wed, 23 Jun 2021 14:21:23 +0900 Subject: [PATCH 1/2] fix: isBetween plugin type --- types/plugin/isBetween.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/plugin/isBetween.d.ts b/types/plugin/isBetween.d.ts index e73a27ec3..acb090af7 100644 --- a/types/plugin/isBetween.d.ts +++ b/types/plugin/isBetween.d.ts @@ -5,6 +5,6 @@ export = plugin declare module 'dayjs' { interface Dayjs { - isBetween(a: ConfigType, b: ConfigType, c?: OpUnitType | null, d?: string): boolean + isBetween(a: ConfigType, b: ConfigType, c?: OpUnitType | null, d?: '()' | '[]' | '[)'): boolean } } From 5f75915402cd89547c815b3e8e21ba639352eff1 Mon Sep 17 00:00:00 2001 From: henry <48340699+hYe0kjUn@users.noreply.github.com> Date: Wed, 23 Jun 2021 15:41:55 +0900 Subject: [PATCH 2/2] fix: isBetween plugin type --- types/plugin/isBetween.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/plugin/isBetween.d.ts b/types/plugin/isBetween.d.ts index acb090af7..431fff80b 100644 --- a/types/plugin/isBetween.d.ts +++ b/types/plugin/isBetween.d.ts @@ -5,6 +5,6 @@ export = plugin declare module 'dayjs' { interface Dayjs { - isBetween(a: ConfigType, b: ConfigType, c?: OpUnitType | null, d?: '()' | '[]' | '[)'): boolean + isBetween(a: ConfigType, b: ConfigType, c?: OpUnitType | null, d?: '()' | '[]' | '[)' | '(]'): boolean } }