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,5 +1,6 @@
import { LayoutBase } from '../layout-base';
import { Property } from '../../core/properties';
import { Enums } from '../../enums';
/**
* A Layout that arranges its children horizontally or vertically. The direction can be set by orientation property.
@@ -9,12 +10,10 @@ export class StackLayout extends LayoutBase {
* Gets or sets if layout should be horizontal or vertical.
* The default value is vertical.
*/
orientation: Orientation;
orientation: Enums.OrientationType;
}
export type Orientation = 'horizontal' | 'vertical';
/**
* Represents the observable property backing the orientation property of each StackLayout instance.
*/
export const orientationProperty: Property<StackLayout, Orientation>;
export const orientationProperty: Property<StackLayout, Enums.OrientationType>;