You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TS2769: No overload matches this call.
Overload 1 of 2, '(injection: ScriptInjection): Promise<InjectionResult[]>', gave the following error.
Type '(text: any) => void' is not assignable to type '() => void'.
Target signature provides too few arguments. Expected 1 or more, but got 0.
Overload 2 of 2, '(injection: ScriptInjection, callback?: ((results: InjectionResult[]) => void) | undefined): void', gave the following error.
Type '(text: any) => void' is not assignable to type '() => void'.
as well as
TS7006: Parameter 'text' implicitly has an 'any' type.
the type definition looks a bit too simple compared to @types/chrome
Following might also be a separate issue, but maybe add to the docs that one has to add /// <reference types="chrome-types" /> to a .d.tssince at least for me, it didn't take it automatically.
The text was updated successfully, but these errors were encountered:
I tried to execute
and TypeScript tells me
as well as
the type definition looks a bit too simple compared to @types/chrome
Following might also be a separate issue, but maybe add to the docs that one has to add
/// <reference types="chrome-types" />
to a.d.ts
since at least for me, it didn't take it automatically.The text was updated successfully, but these errors were encountered: