diff --git a/src/index.ts b/src/index.ts index 122c32f..d4c0a2b 100644 --- a/src/index.ts +++ b/src/index.ts @@ -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' diff --git a/src/uitl.ts b/src/util.ts similarity index 100% rename from src/uitl.ts rename to src/util.ts diff --git a/src/zod-procedure.ts b/src/zod-procedure.ts index ddcc62c..24ef964 100644 --- a/src/zod-procedure.ts +++ b/src/zod-procedure.ts @@ -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)) {