Files
react-native/Libraries/Sample/Sample.android.js
T
Sam Goldman e923a2fa68 Use libdefs for fbjs instead of types from node_modules
Summary:
When code depends on a module from fbjs, its types come from the node_modules
directory. This is problematic when Flow is deployed, since we can't codemod the
parts that come from node_modules.

Reviewed By: dsainati1

Differential Revision: D15547035

fbshipit-source-id: 8794a32e0f5786bcdd80eab98344d4bc623fb674
2019-05-29 18:11:42 -07:00

25 lines
475 B
JavaScript

/**
* 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.
*
* Stub of Sample for Android.
*
* @format
* @flow
*/
'use strict';
const warning = require('fbjs/lib/warning');
const Sample = {
test: function() {
// $FlowFixMe warning expects a condition
warning('Not yet implemented for Android.');
},
};
module.exports = Sample;