Skip to content

Commit 3a4cf2b

Browse files
committed
Removing spaces for Promise<number>.
1 parent ac051db commit 3a4cf2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/docs/durable-objects/api/storage-api.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export class Counter extends DurableObject {
3131
super(ctx, env);
3232
}
3333

34-
async increment(): Promise < number > {
34+
async increment(): Promise<number> {
3535
let value: number = (await this.ctx.storage.get('value')) || 0;
3636
value += 1;
3737
await this.ctx.storage.put('value', value);

0 commit comments

Comments
 (0)