mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-13 22:40:50 +08:00
Fix(moment-duration-format): trim "right" (#15970)
is a valid value for `DurationFormatSettings.trim` option. See https://github.com/jsmreese/moment-duration-format#trim, `trim` can be a `boolean` or the `"right"` string value.
This commit is contained in:
2
types/moment-duration-format/index.d.ts
vendored
2
types/moment-duration-format/index.d.ts
vendored
@@ -15,7 +15,7 @@ declare module "moment" {
|
||||
interface DurationFormatSettings {
|
||||
template?: string;
|
||||
precision?: number;
|
||||
trim?: boolean;
|
||||
trim?: boolean | "right";
|
||||
forceLength?: boolean;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user