Skip to content

Commit

Permalink
address nit about location of READONLY_INSTANCE_PROPERTY location
Browse files Browse the repository at this point in the history
  • Loading branch information
AdityaAtulTewari committed Jul 17, 2024
1 parent af59d20 commit 1f9608f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/workerd/api/http.h
Original file line number Diff line number Diff line change
Expand Up @@ -912,6 +912,7 @@ class Request: public Body {
// JSG_READONLY_PROTOTYPE_PROPERTY(credentials, getCredentials);
JSG_READONLY_PROTOTYPE_PROPERTY(integrity, getIntegrity);
JSG_READONLY_PROTOTYPE_PROPERTY(keepalive, getKeepalive);
JSG_READONLY_PROTOTYPE_PROPERTY(cache, getCache);

JSG_TS_OVERRIDE(<CfHostMetadata = unknown, Cf = CfProperties<CfHostMetadata>> {
constructor(input: RequestInfo<CfProperties>, init?: RequestInit<Cf>);
Expand Down Expand Up @@ -944,7 +945,6 @@ class Request: public Body {
readonly cf?: Cf;
});
}
JSG_READONLY_PROTOTYPE_PROPERTY(cache, getCache);
}

void serialize(
Expand Down

0 comments on commit 1f9608f

Please sign in to comment.