mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-28 12:15:37 +08:00
Auto-fix lint errors
Reviewed By: bestander Differential Revision: D3683952 fbshipit-source-id: 9484d0b0e86859e8edaca0da1aa13a667f200905
This commit is contained in:
committed by
Facebook Github Bot 4
parent
8e2906ae89
commit
94666f16c7
@@ -52,7 +52,7 @@ export type StatusBarAnimation = $Enum<{
|
||||
}>;
|
||||
|
||||
type DefaultProps = {
|
||||
animated: boolean;
|
||||
animated: boolean,
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -60,7 +60,7 @@ type DefaultProps = {
|
||||
*/
|
||||
function mergePropsStack(propsStack: Array<Object>, defaultValues: Object): Object {
|
||||
return propsStack.reduce((prev, cur) => {
|
||||
for (let prop in cur) {
|
||||
for (const prop in cur) {
|
||||
if (cur[prop] != null) {
|
||||
prev[prop] = cur[prop];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user