From 27790b838c439f7d546093f22a690d85420089b6 Mon Sep 17 00:00:00 2001 From: Tim Evans Date: Wed, 10 Apr 2024 15:08:32 -0400 Subject: [PATCH] fix: update types for textAlign to allow for overrides --- packages/@atjson/renderer-html/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/@atjson/renderer-html/src/index.ts b/packages/@atjson/renderer-html/src/index.ts index 2a0e32e88..809ec6d5c 100644 --- a/packages/@atjson/renderer-html/src/index.ts +++ b/packages/@atjson/renderer-html/src/index.ts @@ -383,7 +383,7 @@ export default class HTMLRenderer extends Renderer { return yield* this.$("u"); } - protected textAlign(alignment: TextAlignment) { + protected textAlign(alignment: TextAlignment): string { switch (alignment) { case TextAlignment.Start: return `text-align:start;`;