chore: Enums > CoreTypes

Cleanup type symbol usage by consolidating to manage in one spot. This makes them easier to use as well by providing a single rollup of all the common type symbol's used throughout core.
This commit is contained in:
Nathan Walker
2021-03-15 22:05:47 -07:00
parent e62acba792
commit 21da31562c
106 changed files with 1110 additions and 1128 deletions

View File

@@ -1,7 +1,7 @@
import { Color } from '../../color';
import { ViewBase } from '../core/view-base';
import { FontStyle, FontWeight } from '../styling/font';
import { Enums } from '../enums';
import { CoreTypes } from '../../core-types';
/**
* 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: Enums.TextDecorationType;
public textDecoration: CoreTypes.TextDecorationType;
/**
* Gets or sets the font foreground color of the span.