From 9d42028cf2bfe195b71837abe76f0958a5b0f395 Mon Sep 17 00:00:00 2001 From: Martin Kemp Date: Wed, 8 Apr 2020 17:36:06 +0100 Subject: [PATCH] fix: remove Url import from endpoint template (#36) no longer needed after #33, and causing an error when building with these types: error TS6133: 'Url' is declared but its value is never read. --- scripts/update-endpoints/templates/endpoints.ts.template | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/update-endpoints/templates/endpoints.ts.template b/scripts/update-endpoints/templates/endpoints.ts.template index 4963176eb..3c32413b8 100644 --- a/scripts/update-endpoints/templates/endpoints.ts.template +++ b/scripts/update-endpoints/templates/endpoints.ts.template @@ -1,7 +1,6 @@ // DO NOT EDIT THIS FILE import { RequestHeaders } from "../RequestHeaders"; import { RequestRequestOptions } from "../RequestRequestOptions"; -import { Url } from "../Url"; export interface Endpoints { {{#each endpointsByRoute}} @@ -30,4 +29,4 @@ export type {{paramTypeName}} = { {{{name this}}}: {{{type this}}} {{/params}} }; -{{/childParams}} \ No newline at end of file +{{/childParams}}