Skip to content

Commit ec42a87

Browse files
committed
added param comment
1 parent 2102689 commit ec42a87

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/v2/providers/alerts/alerts.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ export interface FirebaseAlertOptions extends options.EventHandlerOptions {
5050
/**
5151
* Declares a function that can handle Firebase Alerts from CloudEvents
5252
* @param alertTypeOrOpts the alert type or Firebase Alert function configuration
53+
* @param handler a function that can handle the Firebase Alert inside a CloudEvent
5354
*/
5455
export function onAlertPublished<T extends { ['@type']: string } = any>(
5556
alertTypeOrOpts: AlertType | FirebaseAlertOptions,

0 commit comments

Comments
 (0)