inngest
Version:
Official SDK for Inngest.com. Inngest is the reliability layer for modern applications. Inngest combines durable execution, events, and queues into a zero-infra platform with built-in observability.
7 lines • 303 B
TypeScript
/**
* Returns the value of an enum from a string value.
*
* If the value given is not a value from the enum, `undefined` is returned.
*/
export declare const enumFromValue: <T extends Record<string, unknown>>(enumType: T, value: unknown) => T[keyof T] | undefined;
//# sourceMappingURL=enum.d.ts.map