We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 837bfab commit 8fcda0dCopy full SHA for 8fcda0d
1 file changed
index.d.ts
@@ -155,14 +155,14 @@ export function setBottomPadding(padding: number): Promise<void>;
155
* @param {string} type
156
* @param {() => void} handler
157
*/
158
-export function addEventListener(type: string, handler: () => void): void;
+export function addEventListener(type: string, handler: (event?: any) => void): void;
159
160
/**
161
* removeEventListener
162
163
164
165
-export function removeEventListener(type: string, handler: () => void): void;
+export function removeEventListener(type: string, handler: (event?: any) => void): void;
166
167
168
* To enable iOS push notifications, simply call the following anywhere in your code:
0 commit comments