Skip to content

Commit 36390f1

Browse files
committed
chore: tsc errors fix
1 parent f24332f commit 36390f1

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Diff for: src/label-common.ts

+1
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ export const needFormattedStringComputation = function (
5252

5353
@CSSType('HTMLLabel')
5454
export abstract class LabelBase extends TNLabel implements LabelViewDefinition {
55+
//@ts-ignore
5556
@cssProperty maxLines: string | number;
5657
@cssProperty verticalTextAlignment: VerticalTextAlignment;
5758
@cssProperty lineBreak: LineBreak;

Diff for: src/label.android.ts

+1
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,7 @@ function initializeURLClickableSpan(): void {
179179

180180
@CSSType('HTMLLabel')
181181
abstract class LabelBase extends View implements LabelViewDefinition {
182+
//@ts-ignore
182183
@cssProperty maxLines: string | number;
183184
@cssProperty autoFontSize: boolean;
184185
@cssProperty autoFontSizeStep: number;

0 commit comments

Comments
 (0)