There was an error while loading. Please reload this page.
overload argument type signature
Playground link with relevant code
declare const it: { (test: () => Promise<void>): void; (test: (input: string) => void): void; } it((input) => { input.toUpperCase(); }); it(async () => { // .. });
Error: Parameter 'input' implicitly has an 'any' type.
No type error. The input parameter is type string and should be resolved as such.
input
string
For more context, see DefinitelyTyped/DefinitelyTyped#59075.