From c3d0436b06f74989e3a2c751a5d170f8072c4aad Mon Sep 17 00:00:00 2001 From: javier-garcia-meteologica <61506396+javier-garcia-meteologica@users.noreply.github.com> Date: Sat, 31 Oct 2020 05:42:26 +0100 Subject: [PATCH] fix: isoWeek plugin type (#1177) --- types/plugin/isoWeek.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/plugin/isoWeek.d.ts b/types/plugin/isoWeek.d.ts index f8d59b77b..26c591ba6 100644 --- a/types/plugin/isoWeek.d.ts +++ b/types/plugin/isoWeek.d.ts @@ -1,9 +1,9 @@ -import { PluginFunc, UnitType, ConfigType } from 'dayjs' +import { PluginFunc, OpUnitType, ConfigType } from 'dayjs' declare const plugin: PluginFunc export = plugin -type ISOUnitType = UnitType | 'isoWeek'; +type ISOUnitType = OpUnitType | 'isoWeek'; declare module 'dayjs' { interface Dayjs {