Skip to content

Commit

Permalink
fix: Export Duration type in duration plugin (#1043)
Browse files Browse the repository at this point in the history
  • Loading branch information
csvwolf committed Sep 11, 2020
1 parent fe2301b commit 0f20c3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions types/plugin/duration.d.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { PluginFunc } from 'dayjs'

declare const plugin: PluginFunc
export = plugin
export default plugin

type DurationInputType = string | number | object
type DurationAddType = number | object | Duration

declare class Duration {
export declare class Duration {
constructor (input: DurationInputType, unit?: string, locale?: string)

clone(): Duration
Expand Down

0 comments on commit 0f20c3a

Please sign in to comment.