Skip to content

Commit

Permalink
Still issue with type failing in 3rd party
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyxiao committed Oct 14, 2023
1 parent acfccbe commit 891da91
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions apps/web/sdk/venice-sdk.ts
Original file line number Diff line number Diff line change
@@ -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<paths>()
fetcher.configure({
baseUrl: 'http://localhost:3000/api/rest',
Expand All @@ -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
Expand Down

0 comments on commit 891da91

Please sign in to comment.