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:
6
packages/core/ui/animation/index.d.ts
vendored
6
packages/core/ui/animation/index.d.ts
vendored
@@ -1,6 +1,6 @@
|
||||
import { View } from '../core/view';
|
||||
import { Color } from '../../color';
|
||||
import { PercentLength } from '../styling/style-properties';
|
||||
import { PercentLengthType } from '../styling/style-properties';
|
||||
|
||||
export { KeyframeAnimation, KeyframeAnimationInfo, KeyframeDeclaration, KeyframeInfo } from './keyframe-animation';
|
||||
|
||||
@@ -36,12 +36,12 @@ export interface AnimationDefinition {
|
||||
/**
|
||||
* Animates the height of a view.
|
||||
*/
|
||||
height?: PercentLength | string;
|
||||
height?: PercentLengthType | string;
|
||||
|
||||
/**
|
||||
* Animates the width of a view.
|
||||
*/
|
||||
width?: PercentLength | string;
|
||||
width?: PercentLengthType | string;
|
||||
|
||||
/**
|
||||
* Animates the rotate affine transform of the view. Value should be a number specifying the rotation amount in degrees.
|
||||
|
||||
Reference in New Issue
Block a user