fix(core): type collisions with namespace (#8809)

This commit is contained in:
Nathan Walker
2021-02-25 21:03:07 -08:00
parent 784e9c93cd
commit ab11dc9c9f
110 changed files with 1882 additions and 1827 deletions

View File

@@ -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.