UNPKG

react-native

Version:

A framework for building native apps using React

33 lines (28 loc) 729 B
/** * Copyright 2013-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * * @providesModule checkReactTypeSpec */ 'use strict'; var checkPropTypes = require('react/lib/checkPropTypes'); var { getStackAddendum } = require('react/lib/ReactDebugCurrentFrame'); function checkReactTypeSpec( typeSpecs, values, location: string, componentName ) { checkPropTypes( typeSpecs, values, location, componentName, getStackAddendum ); } module.exports = checkReactTypeSpec;