-
Notifications
You must be signed in to change notification settings - Fork 13k
Closed
Labels
InfrastructureIssue relates to TypeScript team infrastructureIssue relates to TypeScript team infrastructure
Description
src/services/codefixes/fixReturnTypeInAsyncFunction.ts:49:42 - error TS2554: Expected 3-4 arguments, but got 1.
49 const promisedTypeNode = checker.typeToTypeNode(promisedType);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
built/local/compiler.d.ts:3099:36
3099 typeToTypeNode(type: Type, enclosingDeclaration: Node | undefined, flags: NodeBuilderFlags | undefined): TypeNode | undefined;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
An argument for 'enclosingDeclaration' was not provided.
Found 1 error.
Metadata
Metadata
Assignees
Labels
InfrastructureIssue relates to TypeScript team infrastructureIssue relates to TypeScript team infrastructure