/** * 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 strict * @nolint * @format */ // TODO (bvaughn) Remove this file once flowtype/flow-typed/pull/773 is merged type $npm$propTypes$ReactPropsCheckType = ( props: any, propName: string, componentName: string, href?: string, ) => ?Error; declare module 'prop-types' { declare var array: React$PropType$Primitive>; declare var bool: React$PropType$Primitive; declare var func: React$PropType$Primitive; declare var number: React$PropType$Primitive; declare var object: React$PropType$Primitive; declare var string: React$PropType$Primitive; declare var any: React$PropType$Primitive; declare var arrayOf: React$PropType$ArrayOf; declare var element: React$PropType$Primitive; /* TODO */ declare var instanceOf: React$PropType$InstanceOf; declare var node: React$PropType$Primitive; /* TODO */ declare var objectOf: React$PropType$ObjectOf; declare var oneOf: React$PropType$OneOf; declare var oneOfType: React$PropType$OneOfType; declare var shape: React$PropType$Shape; declare function checkPropTypes( propTypes: $Subtype<{[_: $Keys]: $npm$propTypes$ReactPropsCheckType}>, values: V, location: string, componentName: string, getStack: ?() => ?string, ): void; }