Skip to content
File

Blob: types/defines/hello-world.d.ts

typescript14 lines
1/**
2 * Hello World binding to serve as an explanatory example. DO NOT USE
3 */
4interface HelloWorldBinding {
5 /**
6 * Retrieve the current stored value
7 */
8 get(): Promise<{ value: string, ms?: number }>;
9 /**
10 * Set a new stored value
11 */
12 set(value: string): Promise<void>;
13}