react-native
Version:
A framework for building native apps using React
22 lines (20 loc) • 814 B
TypeScript
/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @generated SignedSource<<fac50fec1d748cd895600d3edbdd3868>>
*
* This file was translated from Flow by scripts/build-types/index.js.
* Original file: packages/react-native/Libraries/Network/convertRequestBody.js
*/
import Blob from "../Blob/Blob";
import FormData from "./FormData";
export type RequestBody = string | Blob | FormData | {
uri: string;
} | ArrayBuffer | ArrayBufferView;
declare function convertRequestBody(body: RequestBody): Object;
declare const $$convertRequestBody: typeof convertRequestBody;
declare type $$convertRequestBody = typeof $$convertRequestBody;
export default $$convertRequestBody;