Fix npm start in website/
Summary: We can't use spread syntax here. Prefer Array.concat(). Reviewed By: sahrens Differential Revision: D6014142 fbshipit-source-id: d2759893ea2df69975843ae821fb08b16b1d5d7c
This commit is contained in:
parent
a541d58bc4
commit
d501713bad
|
@ -102,8 +102,7 @@ const stylesWithPermalink = [
|
|||
'../Libraries/StyleSheet/TransformPropTypes.js',
|
||||
'../Libraries/Components/View/ShadowPropTypesIOS.js',
|
||||
'../Libraries/Components/View/ViewPropTypes.js',
|
||||
...stylesForEmbed,
|
||||
];
|
||||
].concat(stylesForEmbed);
|
||||
|
||||
const viewPropTypes = '../Libraries/Components/View/ViewPropTypes.js';
|
||||
|
||||
|
|
|
@ -259,8 +259,7 @@ function getViewPropTypes() {
|
|||
viewPropTypesResolver,
|
||||
[
|
||||
viewPropTypesConversionHandler,
|
||||
...docgen.defaultHandlers,
|
||||
]
|
||||
].concat(docgen.defaultHandlers)
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue