Skip to content
This repository was archived by the owner on Feb 7, 2023. It is now read-only.

Commit 200109a

Browse files
evanderkooghvlovich
authored andcommitted
Add alarm signature to the DurableObject interface
1 parent 92cbe57 commit 200109a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

overrides/durableobjects.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
interface DurableObject {
22
fetch(request: Request): Promise<Response>;
3+
alarm?(): Promise<void>
34
}
45

56
declare abstract class DurableObjectStub extends Fetcher {

0 commit comments

Comments
 (0)