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

@@ -2,7 +2,7 @@
import { Span as SpanDefinition } from './span';
import { ViewBase } from '../core/view-base';
import { FontStyle, FontWeight } from '../styling/font';
import { TextDecoration } from '../text-base';
import { Enums } from '../enums';
import { EventData } from '../../data/observable';
import { isNullOrUndefined, isString } from '../../utils/types';
@@ -41,10 +41,10 @@ export class Span extends ViewBase implements SpanDefinition {
this.style.fontWeight = value;
}
get textDecoration(): TextDecoration {
get textDecoration(): Enums.TextDecorationType {
return this.style.textDecoration;
}
set textDecoration(value: TextDecoration) {
set textDecoration(value: Enums.TextDecorationType) {
this.style.textDecoration = value;
}