Skip to content

Commit

Permalink
fix: syntax issue for 1.x TypeScript
Browse files Browse the repository at this point in the history
  • Loading branch information
zardoy committed Jan 17, 2021
1 parent 660107a commit 246705e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/plugin/duration.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ declare namespace plugin {
}>;
type DurationUnitType = Exclude<OpUnitType, "date" | "dates">
type CreateDurationType =
& ((units: DurationUnitsObjectType) => Duration)
((units: DurationUnitsObjectType) => Duration)
& ((time: number, unit?: DurationUnitType) => Duration)
& ((ISO_8601: string) => Duration)

Expand Down

0 comments on commit 246705e

Please sign in to comment.