Skip to content

Commit ca91f6a

Browse files
authored
Fix WarmupContext type name (#195)
1 parent 91c9cbc commit ca91f6a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

types/warmup.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
import { FunctionOptions, FunctionResult, FunctionTrigger } from './index';
55
import { InvocationContext } from './InvocationContext';
66

7-
export interface WarmupContextOptions {}
8-
export type WarmupHandler = (warmupContext: WarmupContextOptions, context: InvocationContext) => FunctionResult;
7+
export interface WarmupContext {}
8+
export type WarmupHandler = (warmupContext: WarmupContext, context: InvocationContext) => FunctionResult;
99

1010
export interface WarmupFunctionOptions extends WarmupTriggerOptions, Partial<FunctionOptions> {
1111
handler: WarmupHandler;

0 commit comments

Comments
 (0)