From e06f493868a40c04b687f7f6e1ec2e17f93c79ef Mon Sep 17 00:00:00 2001 From: Andrew Bobkov Date: Tue, 7 Nov 2023 20:37:56 +0000 Subject: [PATCH] chore(index.ts): export required types to fix TS2742 error --- packages/inngest/src/index.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/inngest/src/index.ts b/packages/inngest/src/index.ts index 0d3994460..908b0e730 100644 --- a/packages/inngest/src/index.ts +++ b/packages/inngest/src/index.ts @@ -16,6 +16,7 @@ export type { } from "./components/Inngest"; export { InngestCommHandler } from "./components/InngestCommHandler"; export type { ServeHandlerOptions } from "./components/InngestCommHandler"; +export type { InngestFunction } from "./components/InngestFunction"; export { InngestMiddleware } from "./components/InngestMiddleware"; export type { MiddlewareOptions, @@ -47,4 +48,6 @@ export type { StepOptionsOrId, TimeStr, TriggerOptions, + FunctionTrigger, + Handler, } from "./types";