ardatan/graphql-toolkit

ts errors, less only two left in latest package which is used in core

maapteh opened this issue · 2 comments

still:

../../node_modules/@graphql-modules/core/node_modules/graphql-toolkit/dist/esnext/utils/validate-documents.d.ts:8:150 - error TS1005: ',' expected.
8 export declare const validateGraphQlDocuments: (schema: GraphQLSchema, documentFiles: DocumentFile[], effectiveRules?: ValidationRule[]) => readonly LoadDocumentError[];
                                           
../../node_modules/@graphql-modules/core/node_modules/graphql-toolkit/dist/esnext/utils/validate-documents.d.ts:8:167 - error TS1005: ',' expected.
8 export declare const validateGraphQlDocuments: (schema: GraphQLSchema, documentFiles: DocumentFile[], effectiveRules?: ValidationRule[]) => readonly LoadDocumentError[];                                                                                                                                                                  

typescript: 3.6.3

in the previous version (before 0.5.13) it gave something like 16 errors, but now 2 i got the reference from @graphql-modules 0.7.12

I am seeing the same errors.

Solved using latest typescript version, thanks for debugging @ardatan ! And good luck Austin