react-native/flow/fbjs.js
Sam Goldman 632f1202ab Switch declare function exports to declare module.exports
Reviewed By: calebmer

Differential Revision: D6579552

fbshipit-source-id: a46f27cca8065e9f3c46739f6a874dfb346c0c7d
2017-12-18 17:25:08 -08:00

17 lines
532 B
JavaScript

/**
* Copyright (c) 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.
*/
declare module 'fbjs/lib/invariant' {
declare module.exports: <T>(condition: any, message: string, ...args: Array<any>) => void;
}
declare module 'fbjs/lib/nullthrows' {
declare module.exports: <T>(value: ?T) => T;
}