From ea74ca56291c799eb9ad6cedb268c5384a888776 Mon Sep 17 00:00:00 2001 From: Georges KABBOUCHI Date: Sun, 11 Aug 2024 03:59:04 +0300 Subject: [PATCH] feat: expose edge renderer locals --- src/edge/renderer.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/edge/renderer.ts b/src/edge/renderer.ts index 9f425cd..ede2f74 100644 --- a/src/edge/renderer.ts +++ b/src/edge/renderer.ts @@ -49,6 +49,13 @@ export class EdgeRenderer { return this } + /** + * Get the shared locals + */ + getLocals() { + return this.#locals + } + /** * Render the template */