Merge pull request #20092 from fmmoret/patch-1

Fix types on LayoutAnimation
This commit is contained in:
Eloy Durán
2017-09-28 12:53:42 +02:00
committed by GitHub
+3 -3
View File
@@ -533,9 +533,9 @@ export interface LayoutAnimationStatic {
linear: LayoutAnimationConfig
spring: LayoutAnimationConfig
}
easeInEaseOut: (config: LayoutAnimationConfig, onAnimationDidEnd?: () => void) => void
linear: (config: LayoutAnimationConfig, onAnimationDidEnd?: () => void) => void
spring: (config: LayoutAnimationConfig, onAnimationDidEnd?: () => void) => void
easeInEaseOut: (onAnimationDidEnd?: () => void) => void
linear: (onAnimationDidEnd?: () => void) => void
spring: (onAnimationDidEnd?: () => void) => void
}
type FlexAlignType = "flex-start" | "flex-end" | "center" | "stretch" | "baseline";