Skip to content

Change the sendSelfNotification method to use local push functionality #659

Change the sendSelfNotification method to use local push functionality

Change the sendSelfNotification method to use local push functionality #659

Triggered via pull request July 11, 2024 21:00
Status Success
Total duration 3m 39s
Artifacts

ci.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 11 warnings
test (14.x): src/Event.ts#L88
Do not access Object.prototype method 'hasOwnProperty' from target object
test (14.x)
Redundant double negation
test (14.x)
Type boolean trivially inferred from a boolean literal, remove type annotation
test (14.x)
Unexpected empty static method 'checkAndWipeUserSubscription'
test (14.x): src/OneSignalApiShared.ts#L25
Unexpected var, use let or const instead
test (14.x): src/Postmam.ts#L108
Do not access Object.prototype method 'hasOwnProperty' from target object
test (14.x): src/Postmam.ts#L128
Unexpected var, use let or const instead
test (14.x): src/Postmam.ts#L187
Do not access Object.prototype method 'hasOwnProperty' from target object
test (14.x): src/Postmam.ts#L289
Unexpected var, use let or const instead
test (14.x): src/Postmam.ts#L291
Unexpected var, use let or const instead
test (14.x)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
test (14.x): src/Event.ts#L63
Unexpected any. Specify a different type
test (14.x): src/Event.ts#L120
Unexpected any. Specify a different type
test (14.x): src/IOneSignal.ts#L5
'IOneSignal' is defined but never used
test (14.x): src/IOneSignal.ts#L5
Unexpected any. Specify a different type
test (14.x): src/IOneSignal.ts#L6
Unexpected any. Specify a different type
test (14.x): src/OneSignal.ts#L20
'NotificationActionButton' is defined but never used
test (14.x): src/OneSignal.ts#L298
Unexpected any. Specify a different type
test (14.x): src/OneSignal.ts#L366
'_reject' is defined but never used
test (14.x)
Forbidden non-null assertion
test (14.x)
Unexpected any. Specify a different type