Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@

export namespace LiveActivities {
/**
* Indicate this device has exited a live activity, identified within OneSignal by the `activityId`.
* Indicate this device has entered a live activity, identified within OneSignal by the `activityId`.
*
* Only applies to iOS
*
Expand Down Expand Up @@ -287,7 +287,7 @@
export namespace User {
export namespace pushSubscription {
/** Add a callback that fires when the OneSignal subscription state changes. */
export function addEventListener(

Check warning on line 290 in src/index.ts

View workflow job for this annotation

GitHub Actions / build

'addEventListener' is already declared in the upper scope on line 412 column 21
event: 'change',
listener: (event: PushSubscriptionChangedState) => void,
) {
Expand All @@ -302,7 +302,7 @@
}

/** Clears current subscription observers. */
export function removeEventListener(

Check warning on line 305 in src/index.ts

View workflow job for this annotation

GitHub Actions / build

'removeEventListener' is already declared in the upper scope on line 427 column 21
event: 'change',
listener: (event: PushSubscriptionChangedState) => void,
) {
Expand Down
Loading