mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-23 20:01:01 +08:00
[Flow] v0.11.0 cleaning - Part 14 (react-native-github)
This commit is contained in:
committed by
Christopher Chedeau
parent
4a137aa840
commit
184bb1151a
@@ -92,6 +92,8 @@ var getPhotosReturnChecker = createStrictShapeTypeChecker({
|
||||
});
|
||||
|
||||
class CameraRoll {
|
||||
|
||||
static GroupTypesOptions: Array<string>;
|
||||
/**
|
||||
* Saves the image with tag `tag` to the camera roll.
|
||||
*
|
||||
|
||||
@@ -67,9 +67,9 @@ class PixelRatio {
|
||||
static getPixelSizeForLayoutSize(layoutSize: number): number {
|
||||
return Math.round(layoutSize * PixelRatio.get());
|
||||
}
|
||||
|
||||
// No-op for iOS, but used on the web. Should not be documented.
|
||||
static startDetecting() {}
|
||||
}
|
||||
|
||||
// No-op for iOS, but used on the web. Should not be documented.
|
||||
PixelRatio.startDetecting = function() {};
|
||||
|
||||
module.exports = PixelRatio;
|
||||
|
||||
Reference in New Issue
Block a user