/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @flow */ import type {ModuleMetaData} from 'ReactFlightNativeRelayServerIntegration'; export type JSONValue = | string | number | boolean | null | {+[key: string]: JSONValue} | Array; export type RowEncoding = | ['J', number, JSONValue] | ['M', number, ModuleMetaData] | ['S', number, string] | [ 'E', number, { message: string, stack: string, ... }, ];