mirror of
https://github.com/status-im/react-native.git
synced 2025-01-10 01:25:39 +00:00
6ed49341f3
Summary: `require('something.jpg')` returns a `number` type. Reviewed By: ejanzer Differential Revision: D4132544 fbshipit-source-id: cf47baa377258195fe0155b3ea34208325d7c462
17 lines
422 B
JavaScript
17 lines
422 B
JavaScript
/**
|
|
* Copyright (c) 2015-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 ImageSource
|
|
* @flow
|
|
*/
|
|
'use strict';
|
|
|
|
export type ImageSource = {
|
|
uri: string,
|
|
} | number;
|