Skip to content

Commit

Permalink
tyop
Browse files Browse the repository at this point in the history
  • Loading branch information
mmkal committed May 31, 2024
1 parent 0386c82 commit 9175ac3
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import * as zodValidationError from 'zod-validation-error'
import {flattenedProperties, incompatiblePropertyPairs, getDescription} from './json-schema'
import {lineByLineConsoleLogger} from './logging'
import {Logger, TrpcCliParams} from './types'
import {looksLikeInstanceof} from './uitl'
import {looksLikeInstanceof} from './util'
import {parseProcedureInputs} from './zod-procedure'

export * from './types'
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/zod-procedure.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {z} from 'zod'
import zodToJsonSchema from 'zod-to-json-schema'
import type {Result, ParsedProcedure} from './types'
import {looksLikeInstanceof} from './uitl'
import {looksLikeInstanceof} from './util'

function getInnerType(zodType: z.ZodType): z.ZodType {
if (looksLikeInstanceof(zodType, z.ZodOptional) || looksLikeInstanceof(zodType, z.ZodNullable)) {
Expand Down

0 comments on commit 9175ac3

Please sign in to comment.