From 88e2b43305c07ef8b489081a5a580584cbd7f342 Mon Sep 17 00:00:00 2001 From: Ben Holmes Date: Wed, 10 Jul 2024 08:11:39 -0400 Subject: [PATCH] fix: bad Handler type (#11448) --- packages/astro/src/actions/runtime/virtual/server.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/astro/src/actions/runtime/virtual/server.ts b/packages/astro/src/actions/runtime/virtual/server.ts index 8f0d6e111dbf..326bbf4f9be6 100644 --- a/packages/astro/src/actions/runtime/virtual/server.ts +++ b/packages/astro/src/actions/runtime/virtual/server.ts @@ -19,7 +19,7 @@ export type ActionHandler = TInputSchema extends z.ZodTyp ? (input: z.infer, context: ActionAPIContext) => MaybePromise : (input: any, context: ActionAPIContext) => MaybePromise; -export type ActionReturnType> = Awaited>; +export type ActionReturnType> = Awaited>; export type ActionClient< TOutput,