graphql-compose-elasticsearch icon indicating copy to clipboard operation
graphql-compose-elasticsearch copied to clipboard

Fix broken typescript compilation

Open ianmarmour opened this issue 3 years ago • 0 comments

Typescript breaks on compilation because of an invalid use of reference types, see this documentation as to why the previous usage of reference types to refer to a relative path is invalid.

node_modules/graphql-compose-elasticsearch/lib/ElasticApiParser.d.ts:1:23 - error TS2688: Cannot find type definition file for 'src/types'.

1 /// <reference types="src/types" />
                        ~~~~~~~~~

Was able to remove this line locally and re-build and validated that this works fine and solves the build failures.

ianmarmour avatar Aug 03 '22 08:08 ianmarmour