Skip to content

contextType is added as import #259

@mrtnbroder

Description

@mrtnbroder

Latest update generated the following line in my output file:

import { getApolloClient , any} from '~hooks/useApollo';

because the contextType is added as an import (which is wrong).

setting contextType: "" fixes that line but generates wrong syntax for other lines:

- (options: Omit<Apollo.QueryOptions<Types.CalculatorQueryVariables>, 'query'>, ctx?: any)
+ (options: Omit<Apollo.QueryOptions<Types.CalculatorQueryVariables>, 'query'>, ctx?: )

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions