Skip to content

Commit 9594eb5

Browse files
committed
Got rid of the any
1 parent 37ed751 commit 9594eb5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/trigger/example.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ export const helloWorldTask = task({
44
id: "hello-world",
55
// Set an optional maxDuration to prevent tasks from running indefinitely
66
maxDuration: 300, // Stop executing after 300 secs (5 mins) of compute
7-
run: async (payload: any, { ctx }) => {
7+
run: async (payload, { ctx }) => {
88
logger.log("Hello, world!", { payload, ctx });
99

1010
await wait.for({ seconds: 5 });
1111

1212
return {
1313
message: "Hello, world!",
14-
}
14+
};
1515
},
16-
});
16+
});

0 commit comments

Comments
 (0)