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:
@@ -5,7 +5,7 @@ import { Style } from '../styling/style';
|
||||
import { EventData } from '../../data/observable';
|
||||
import { Color } from '../../color';
|
||||
import { Property, CssProperty, CoercibleProperty } from '../core/properties';
|
||||
import { TextTransform } from '../text-base';
|
||||
import { Enums } from '../enums';
|
||||
import { Trace } from '../../trace';
|
||||
|
||||
export const traceCategory = 'TabView';
|
||||
@@ -16,10 +16,10 @@ export abstract class TabViewItemBase extends ViewBase implements TabViewItemDef
|
||||
private _view: View;
|
||||
private _iconSource: string;
|
||||
|
||||
get textTransform(): TextTransform {
|
||||
get textTransform(): Enums.TextTransformType {
|
||||
return this.style.textTransform;
|
||||
}
|
||||
set textTransform(value: TextTransform) {
|
||||
set textTransform(value: Enums.TextTransformType) {
|
||||
this.style.textTransform = value;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user