mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-12-03 11:41:44 +00:00
Union & Intersection should return a Twix object (#9210)
Union & Intersection functions currently return a string type, this should be a Twix object. See docs: http://isaaccambron.com/twix.js/docs.html
This commit is contained in:
committed by
Masahiro Wakame
parent
f748ed9ab5
commit
69111ae0ba
Vendored
+2
-2
@@ -104,8 +104,8 @@ declare namespace moment {
|
||||
overlaps(other: Twix): boolean;
|
||||
engulfs(other: Twix): boolean;
|
||||
equals(other: Twix): boolean;
|
||||
union(other: Twix): string;
|
||||
intersection(other: Twix): string;
|
||||
union(other: Twix): Twix;
|
||||
intersection(other: Twix): Twix;
|
||||
|
||||
xor(other: Twix): Twix[];
|
||||
difference(other: Twix): Twix[];
|
||||
|
||||
Reference in New Issue
Block a user