File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
1
/**
2
- * @typedef {"left" | "right" | "center" } TextAlignType
2
+ * @typedef {"left" | "right" | "center" } TextAlign
3
3
*/
4
4
5
- /** @type {TextAlignType } */
5
+ /** @type {TextAlign } */
6
6
const left = "left" ;
7
7
8
- /** @type {TextAlignType } */
8
+ /** @type {TextAlign } */
9
9
const right = "right" ;
10
10
11
- /** @type {TextAlignType } */
11
+ /** @type {TextAlign } */
12
12
const center = "center" ;
13
13
14
14
const TextAlign = Object . freeze ( {
Original file line number Diff line number Diff line change 1
1
import { Widgets } from "@farjs/blessed" ;
2
- import { TextAlignType } from "./TextAlign.mjs" ;
2
+ import { TextAlign } from "./TextAlign.mjs" ;
3
3
4
4
type BlessedStyle = Widgets . Types . TStyle ;
5
5
6
6
export interface TextLineProps {
7
- readonly align : TextAlignType ;
7
+ readonly align : TextAlign ;
8
8
readonly left : number ;
9
9
readonly top : number ;
10
10
readonly width : number ;
You can’t perform that action at this time.
0 commit comments