File tree Expand file tree Collapse file tree 2 files changed +0
-3
lines changed
Expand file tree Collapse file tree 2 files changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -143,7 +143,6 @@ Access request context and global state:
143143- ` $HEADERS ` : Request headers
144144- ` $COOKIES ` : Read-only object containing request cookies
145145- ` $RESPONSE ` : Response configuration object
146- - ` globalThis ` : Global JavaScript object
147146
148147### Cookie Management
149148
Original file line number Diff line number Diff line change @@ -42,7 +42,6 @@ export async function renderToResponse(
4242}
4343
4444export type RenderContext = {
45- globalThis : typeof globalThis ;
4645 htmlspecialchars : ( s : string ) => string ;
4746 setCookie : (
4847 name : string ,
@@ -91,7 +90,6 @@ export function createRenderContext(options: RenderOptions): RenderContext {
9190
9291 return {
9392 ...options . context ,
94- globalThis,
9593 htmlspecialchars,
9694 setCookie,
9795 redirect,
You can’t perform that action at this time.
0 commit comments