mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-24 04:16:00 +08:00
Fix react-native function call arity errors
Reviewed By: zertosh Differential Revision: D5081816 fbshipit-source-id: 5978770c30a69fb287d03aa7511999ce30f856a1
This commit is contained in:
committed by
Facebook Github Bot
parent
aa3bbf18a1
commit
3ddc7d47d5
@@ -43,7 +43,7 @@ function createCodeWithMap(bundle: Bundle, dev: boolean, sourceMapSourcesRoot?:
|
||||
function saveBundleAndMap(
|
||||
bundle: Bundle,
|
||||
options: OutputOptions,
|
||||
log: (x: string) => {},
|
||||
log: (...args: Array<string>) => {},
|
||||
): Promise<> {
|
||||
const {
|
||||
bundleOutput,
|
||||
|
||||
@@ -38,7 +38,7 @@ const MODULES_DIR = 'js-modules';
|
||||
function saveAsAssets(
|
||||
bundle: Bundle,
|
||||
options: OutputOptions,
|
||||
log: (x: string) => void,
|
||||
log: (...args: Array<string>) => void,
|
||||
): Promise<mixed> {
|
||||
const {
|
||||
bundleOutput,
|
||||
|
||||
@@ -34,7 +34,7 @@ const SIZEOF_UINT32 = 4;
|
||||
function saveAsIndexedFile(
|
||||
bundle: Bundle,
|
||||
options: OutputOptions,
|
||||
log: (x: string) => void,
|
||||
log: (...args: Array<string>) => void,
|
||||
): Promise<> {
|
||||
const {
|
||||
bundleOutput,
|
||||
|
||||
@@ -15,7 +15,7 @@ const writeFile = require('../writeFile');
|
||||
function writeSourcemap(
|
||||
fileName: string,
|
||||
contents: string,
|
||||
log: (x: string) => void,
|
||||
log: (...args: Array<string>) => void,
|
||||
): Promise<> {
|
||||
if (!fileName) {
|
||||
return Promise.resolve();
|
||||
|
||||
Reference in New Issue
Block a user