mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-15 12:42:26 +08:00
Add two methods add() and sub() to timezonecomplete.d.ts
This commit is contained in:
1 parent
37982a91ed
commit
f787f16fb5
1 file changed
+10
+10
@@ -152,6 +152,16 @@ declare module 'timezonecomplete' {
|
||||
* @return a new Duration of (this * value)
|
||||
*/
|
||||
multiply(value: number): Duration;
|
||||
/**
|
||||
* Add a duration.
|
||||
* @return a new Duration of (this + value)
|
||||
*/
|
||||
add(value: Duration): Duration;
|
||||
/**
|
||||
* Subtract a duration.
|
||||
* @return a new Duration of (this - value)
|
||||
*/
|
||||
sub(value: Duration): Duration;
|
||||
/**
|
||||
* String in [-]hh:mm:ss.nnn notation. All fields are
|
||||
* always present except the sign.
|
||||
|
||||
Reference in new issue
Block a user