apollo-client/core/QueryManager.d.ts is broken

Created on 24 Jul 2018  路  4Comments  路  Source: apollographql/apollo-client

Broken TypeScript definition in: [email protected]

@hwillson I believe that TSC is producing a broken type definition file using your local machine's file system for: apollo-client/src/core/QueryManager.ts#L1006

ERROR in node_modules/apollo-client/core/QueryManager.d.ts(70,26): error TS1005: ';' expected.

This is the code producing the error:

getQueryWithPreviousResult<T>(queryIdOrObservable: string | ObservableQuery<T>): {
        previousResult: any;
        variables: import("../../../../../../../../../../Users/hwillson/Documents/git/apollo/apollo-client/packages/apollo-client/src/core/types").OperationVariables | undefined;
        document: DocumentNode;
    };
馃悶 bug

Most helpful comment

apollo-client 2.3.7 has been published and should fix this. Let me know if you're still encountering any issues. Thanks!

All 4 comments

Just updated and I'm also seeing this error

+1

Wow! That's extremely bizarre - thanks, I'm on it!

apollo-client 2.3.7 has been published and should fix this. Let me know if you're still encountering any issues. Thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

MichaelDeBoey picture MichaelDeBoey  路  3Comments

rafgraph picture rafgraph  路  3Comments

dispix picture dispix  路  3Comments

treecy picture treecy  路  3Comments

helfer picture helfer  路  3Comments