Skip to content

Commit

Permalink
Fix WarmupContext type name (#195)
Browse files Browse the repository at this point in the history
  • Loading branch information
castrodd authored Nov 13, 2023
1 parent 91c9cbc commit ca91f6a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions types/warmup.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
import { FunctionOptions, FunctionResult, FunctionTrigger } from './index';
import { InvocationContext } from './InvocationContext';

export interface WarmupContextOptions {}
export type WarmupHandler = (warmupContext: WarmupContextOptions, context: InvocationContext) => FunctionResult;
export interface WarmupContext {}
export type WarmupHandler = (warmupContext: WarmupContext, context: InvocationContext) => FunctionResult;

export interface WarmupFunctionOptions extends WarmupTriggerOptions, Partial<FunctionOptions> {
handler: WarmupHandler;
Expand Down

0 comments on commit ca91f6a

Please sign in to comment.