Skip to content

Commit

Permalink
fix: update types for textAlign to allow for overrides
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-evans committed Apr 10, 2024
1 parent 625e5e5 commit 27790b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@atjson/renderer-html/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;`;
Expand Down

0 comments on commit 27790b8

Please sign in to comment.