Skip to content

Commit

Permalink
fix: simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
mnahkies committed Dec 8, 2024
1 parent 72c7bf2 commit 435e57f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,7 @@ export async function generateTypescriptAxios(
const rootTypeBuilder = await TypeBuilder.fromInput(
"./models.ts",
input,
{
exactOptionalPropertyTypes: false,
...config.compilerOptions,
},
config.compilerOptions,
{allowAny},
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,7 @@ export async function generateTypescriptFetch(
const rootTypeBuilder = await TypeBuilder.fromInput(
"./models.ts",
input,
{
exactOptionalPropertyTypes: false,
...config.compilerOptions,
},
config.compilerOptions,
{allowAny},
)
const rootSchemaBuilder = await schemaBuilderFactory(
Expand Down

0 comments on commit 435e57f

Please sign in to comment.