Skip to content

Commit

Permalink
fix: isoWeek plugin type (#1177)
Browse files Browse the repository at this point in the history
  • Loading branch information
javier-garcia-meteologica authored Oct 31, 2020
1 parent 6170bcd commit c3d0436
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions types/plugin/isoWeek.d.ts
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down

0 comments on commit c3d0436

Please sign in to comment.