mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
fix(core): type collisions with namespace (#8809)
This commit is contained in:
4
packages/core/ui/text-base/span.d.ts
vendored
4
packages/core/ui/text-base/span.d.ts
vendored
@@ -1,7 +1,7 @@
|
||||
import { Color } from '../../color';
|
||||
import { ViewBase } from '../core/view-base';
|
||||
import { FontStyle, FontWeight } from '../styling/font';
|
||||
import { TextDecoration } from '../text-base';
|
||||
import { Enums } from '../enums';
|
||||
|
||||
/**
|
||||
* A class used to create a single part of formatted string with a common text properties.
|
||||
@@ -30,7 +30,7 @@ export class Span extends ViewBase {
|
||||
/**
|
||||
* Gets or sets text decorations for the span.
|
||||
*/
|
||||
public textDecoration: TextDecoration;
|
||||
public textDecoration: Enums.TextDecorationType;
|
||||
|
||||
/**
|
||||
* Gets or sets the font foreground color of the span.
|
||||
|
||||
Reference in New Issue
Block a user