From 57e414c81f4a69029e5954abcd6053c54bd45cc3 Mon Sep 17 00:00:00 2001 From: dmortimer Date: Thu, 13 Sep 2018 15:53:25 -0400 Subject: [PATCH] Subscription type misspelled --- types/subscribe-ui-event/index.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/types/subscribe-ui-event/index.d.ts b/types/subscribe-ui-event/index.d.ts index 12fca5af91..9e4e4db2e2 100644 --- a/types/subscribe-ui-event/index.d.ts +++ b/types/subscribe-ui-event/index.d.ts @@ -63,7 +63,7 @@ export type TouchEventCallback = ( payload: ArgmentedEvent ) => any; -export interface Subscrption { +export interface Subscription { unsubscribe: () => void; } @@ -71,13 +71,13 @@ export function subscribe( eventType: T, callback: UIEventCallback, options?: SubscribeOptions -): Subscrption; +): Subscription; export function subscribe( eventType: T, callback: TouchEventCallback, options?: SubscribeOptions -): Subscrption; +): Subscription; export function unsubscribe( eventType: T,