Skip to content

Commit 101c7e7

Browse files
Renamed TextAlign type
1 parent fdf3bd8 commit 101c7e7

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/TextAlign.mjs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
/**
2-
* @typedef {"left" | "right" | "center"} TextAlignType
2+
* @typedef {"left" | "right" | "center"} TextAlign
33
*/
44

5-
/** @type {TextAlignType} */
5+
/** @type {TextAlign} */
66
const left = "left";
77

8-
/** @type {TextAlignType} */
8+
/** @type {TextAlign} */
99
const right = "right";
1010

11-
/** @type {TextAlignType} */
11+
/** @type {TextAlign} */
1212
const center = "center";
1313

1414
const TextAlign = Object.freeze({

src/TextLine.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import { Widgets } from "@farjs/blessed";
2-
import { TextAlignType } from "./TextAlign.mjs";
2+
import { TextAlign } from "./TextAlign.mjs";
33

44
type BlessedStyle = Widgets.Types.TStyle;
55

66
export interface TextLineProps {
7-
readonly align: TextAlignType;
7+
readonly align: TextAlign;
88
readonly left: number;
99
readonly top: number;
1010
readonly width: number;

0 commit comments

Comments
 (0)