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:
Peter Ruibal 2017-10-10 01:22:33 -07:00 committed by Facebook Github Bot
parent a541d58bc4
commit d501713bad
2 changed files with 2 additions and 4 deletions

View File

@ -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';

View File

@ -259,8 +259,7 @@ function getViewPropTypes() {
viewPropTypesResolver,
[
viewPropTypesConversionHandler,
...docgen.defaultHandlers,
]
].concat(docgen.defaultHandlers)
);
}