Skip to content

Commit

Permalink
fix: remove Url import from endpoint template (#36)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
MartiUK authored Apr 8, 2020
1 parent 01a5e67 commit 9d42028
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/update-endpoints/templates/endpoints.ts.template
Original file line number Diff line number Diff line change
@@ -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}}
Expand Down Expand Up @@ -30,4 +29,4 @@ export type {{paramTypeName}} = {
{{{name this}}}: {{{type this}}}
{{/params}}
};
{{/childParams}}
{{/childParams}}

0 comments on commit 9d42028

Please # to comment.