mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 06:47:03 +00:00
Merge pull request #28863 from dmortimer/patch-1
Subscription type misspelled
This commit is contained in:
Vendored
+3
-3
@@ -63,7 +63,7 @@ export type TouchEventCallback<T extends TouchEventType = TouchEventType> = (
|
||||
payload: ArgmentedEvent<T>
|
||||
) => any;
|
||||
|
||||
export interface Subscrption {
|
||||
export interface Subscription {
|
||||
unsubscribe: () => void;
|
||||
}
|
||||
|
||||
@@ -71,13 +71,13 @@ export function subscribe<T extends UIEventType>(
|
||||
eventType: T,
|
||||
callback: UIEventCallback<T>,
|
||||
options?: SubscribeOptions
|
||||
): Subscrption;
|
||||
): Subscription;
|
||||
|
||||
export function subscribe<T extends TouchEventType>(
|
||||
eventType: T,
|
||||
callback: TouchEventCallback<T>,
|
||||
options?: SubscribeOptions
|
||||
): Subscrption;
|
||||
): Subscription;
|
||||
|
||||
export function unsubscribe<T extends UIEventType>(
|
||||
eventType: T,
|
||||
|
||||
Reference in New Issue
Block a user