From 4fef9ae4d34446801259ad4ea4992fbed1c6dcc2 Mon Sep 17 00:00:00 2001 From: Adam Weeden Date: Mon, 22 Nov 2021 12:55:58 -0500 Subject: [PATCH] [E4E-30]: Typo inception --- lib/generateRoutes/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/generateRoutes/index.ts b/lib/generateRoutes/index.ts index 07c292b..6bc13e8 100644 --- a/lib/generateRoutes/index.ts +++ b/lib/generateRoutes/index.ts @@ -67,7 +67,7 @@ export async function generateTypes(apiPath: string, filePath: string): Promise< export function generateTypescript(api: OpenAPI.Document, typeImportLocation: string): string { let generatedTSEndpoints = '/**\n* This file was auto-generated by the generateRoutes endpoint generator.\n* Do not make direct changes to the file.\n' + - `* To update this file run \`npx apollo-rest_utils \`\n*/\n\n`; + `* To update this file run \`npx apollo-rest-utils \`\n*/\n\n`; generatedTSEndpoints += `import {operations} from '${typeImportLocation}'\n\nimport { IRestEndpoint} from 'apollo-rest-utils';\n\n\n`; // Create an object representing routes by method, e.g., { 'get': {}, ... } // eslint-disable-next-line @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-unsafe-member-access