We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c88a7a commit bb499e9Copy full SHA for bb499e9
src/content/docs/durable-objects/get-started.mdx
@@ -279,7 +279,7 @@ export class MyDurableObject extends DurableObject<Env> {
279
}
280
export default {
281
async fetch(request, env, ctx):Promise<Response> {
282
- const id = env.MY_DURABLE_OBJECT.idFromName(new URL(request.url).pathname);
+ const id:DurableObjectId = env.MY_DURABLE_OBJECT.idFromName(new URL(request.url).pathname);
283
284
const stub = env.MY_DURABLE_OBJECT.get(id);
285
0 commit comments