From d965b1367cd8ba33917b82747d8002dbf6849de1 Mon Sep 17 00:00:00 2001 From: Oliver Schwede Date: Tue, 31 Oct 2023 19:35:50 +0100 Subject: [PATCH] Fix zod deep import --- packages/zod-openapi/src/lib/zod-extensions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/zod-openapi/src/lib/zod-extensions.ts b/packages/zod-openapi/src/lib/zod-extensions.ts index b17f3ac..fb385b9 100644 --- a/packages/zod-openapi/src/lib/zod-extensions.ts +++ b/packages/zod-openapi/src/lib/zod-extensions.ts @@ -5,7 +5,7 @@ This code is heavily inspired by https://github.com/asteasolutions/zod-to-openap import { extendApi } from './zod-openapi'; import {z} from "zod"; import { SchemaObject } from "openapi3-ts/oas31"; -import {ZodTypeDef} from "zod/lib/types"; +import {ZodTypeDef} from "zod"; declare module 'zod' {