Skip to content
git-on-cloudflare
Git hosting on Cloudflare
Sign in
rachel
/
workerd
main
Loading...
Browse
Commits
Admin
File
Blob: types/defines/hello-world.d.ts
..
/
main
/
types
/
defines
/
hello-world.d.ts
typescript
14 lines
Copy
View
Raw
Download
Copy raw
View raw
Download
1
/**
2
* Hello World binding to serve as an explanatory example. DO NOT USE
3
*/
4
interface
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
}