From 891da91d469037098e490762a0424eb81af2c163 Mon Sep 17 00:00:00 2001 From: Tony Xiao Date: Sat, 14 Oct 2023 01:02:31 -0700 Subject: [PATCH] Still issue with type failing in 3rd party --- apps/web/sdk/venice-sdk.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/apps/web/sdk/venice-sdk.ts b/apps/web/sdk/venice-sdk.ts index a19637e7..1287321f 100644 --- a/apps/web/sdk/venice-sdk.ts +++ b/apps/web/sdk/venice-sdk.ts @@ -1,6 +1,7 @@ -import type {paths} from './venice.gen' import {Fetcher} from 'openapi-typescript-fetch' +import type {paths} from './venice.gen' + const fetcher = Fetcher.for() fetcher.configure({ baseUrl: 'http://localhost:3000/api/rest', @@ -13,8 +14,8 @@ fetcher.configure({ async function main() { // const result = await fetcher.path('/account').method('get').create()({ - // TODO: This should be taking params but it is not due to - // https://github.com/drwpow/openapi-typescript/issues/1040 + // TODO: This should be taking params but it is not due to + // https://github.com/drwpow/openapi-typescript/issues/1040 // }) // console.log('result', result.data[0]?.name) // result Plaid Gold Standard 0% Interest Checking (Plaid Checking) - 0000