inngest / inngest-js

The developer platform for easily building reliable workflows with zero infrastructure for TypeScript & JavaScript
https://www.inngest.com/
GNU General Public License v3.0
414 stars 41 forks source link

Export `[component].Any` types as helpers #459

Closed jpwilliams closed 8 months ago

jpwilliams commented 8 months ago

Summary

Adds [component].Any types such as Inngest.Any and InngestFunction.Any to allow easier typing for collections or factories of pieces of the SDK.

import { type InngestFunction } from "inngest";

const functionsToServe: InngestFunction.Any[] = [];

Checklist

Related

changeset-bot[bot] commented 8 months ago

🦋 Changeset detected

Latest commit: 237d37b2e02e2eb6a4ff837ebc83fbd28b8e1882

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | ------- | ----- | | inngest | Minor |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR