From f26ebc3e1e807d1c0a7a7d101eb04c44d5592840 Mon Sep 17 00:00:00 2001 From: Ben Gubler Date: Sat, 16 Mar 2024 10:16:21 -0600 Subject: [PATCH] chore: format --- src/render.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/render.ts b/src/render.ts index 1e08856..f9c6d21 100644 --- a/src/render.ts +++ b/src/render.ts @@ -91,7 +91,11 @@ export function renderString(this: Eta, template: string, data return render.call(this, templateFn, data); } -export function renderStringAsync(this: Eta, template: string, data: T): Promise { +export function renderStringAsync( + this: Eta, + template: string, + data: T +): Promise { const templateFn = this.compile(template, { async: true }); return renderAsync.call(this, templateFn, data);