From 07a2498e5adea9723938653df71637f0a2eaa64b Mon Sep 17 00:00:00 2001 From: Ian Armour Date: Wed, 3 Aug 2022 09:54:42 +0100 Subject: [PATCH] Fix broken typescript compilation Typescript breaks on compilation because of an invalid use of reference types, see (this documentation)[https://www.typescriptlang.org/docs/handbook/triple-slash-directives.html#-reference-types-] as to why reference types is invalid ``` node_modules/graphql-compose-elasticsearch/lib/ElasticApiParser.d.ts:1:23 - error TS2688: Cannot find type definition file for 'src/types'. 1 /// ~~~~~~~~~ ``` Was able to remove this line locally and re-build and validated that this works fine and solves the build failures. --- src/ElasticApiParser.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/ElasticApiParser.ts b/src/ElasticApiParser.ts index 7b2e17c..ff297a2 100644 --- a/src/ElasticApiParser.ts +++ b/src/ElasticApiParser.ts @@ -1,5 +1,4 @@ /* eslint-disable no-param-reassign */ -/// import dox from 'dox'; import fs from 'fs';