diff --git a/mithril.d.ts b/mithril.d.ts index c8710226..f023b25a 100644 --- a/mithril.d.ts +++ b/mithril.d.ts @@ -658,7 +658,7 @@ declare module _mithril { * * @see m.prop which returns objects that implement this interface. */ - interface MithrilPromiseProperty extends MithrilPromise, + interface MithrilPromiseProperty extends MithrilPromise>, MithrilProperty> { /** * Gets the contained promise. @@ -747,7 +747,7 @@ declare module _mithril { /** * This represents a Mithril promise object. */ - interface MithrilPromise extends Thennable, MithrilProperty> { + interface MithrilPromise extends Thennable, MithrilProperty> { /** * Chain this promise with a simple success callback, propogating * rejections.