Bump @types/webextension-polyfill from 0.10.7 to 0.12.1 #1102
Annotations
3 errors and 10 warnings
Types:
source/receiver.ts#L118
Argument of type '(message: unknown, sender: Sender) => void | Promise<unknown>' is not assignable to parameter of type '(message: unknown, sender: MessageSender, sendResponse: (message: unknown) => void) => true | Promise<unknown> | undefined'.
|
Types:
source/test/contentscript/fixtures/unrelatedMessageListener.ts#L2
Argument of type '(message: unknown) => Promise<string> | void' is not assignable to parameter of type '(message: unknown, sender: MessageSender, sendResponse: (message: unknown) => void) => true | Promise<unknown> | undefined'.
|
Types
Process completed with exit code 1.
|
Demo
Could not determine node version from /home/runner/work/webext-messenger/webext-messenger/package.json. Falling back
|
Lint:
source/receiver.ts#L32
Unexpected 'todo' comment: 'TODO: Add test for this eventuality:...'
|
Lint:
source/receiver.ts#L80
Unexpected 'todo' comment: 'TODO: Test the handling of __getTabData...'
|
Lint:
source/sender.ts#L76
Async function 'manageMessage' has too many parameters (5). Maximum allowed is 4
|
Lint:
source/sender.ts#L83
Unexpected 'todo' comment: 'TODO: Split this up a bit because it's...'
|
Lint:
source/thisTarget.ts#L95
Unexpected 'todo' comment: 'TODO: Add tests'
|
Lint:
source/thisTarget.ts#L127
Unexpected 'todo' comment: 'TODO: Use Error#cause after...'
|
Lint
Could not determine node version from /home/runner/work/webext-messenger/webext-messenger/package.json. Falling back
|
Types
Could not determine node version from /home/runner/work/webext-messenger/webext-messenger/package.json. Falling back
|
Test
Could not determine node version from /home/runner/work/webext-messenger/webext-messenger/package.json. Falling back
|