mirror of
https://github.com/status-im/react-navigation.git
synced 2025-02-23 16:48:22 +00:00
Fix Flow types (and update RN version) (#2619)
* Fix .flowconfig to stop ignoring modules and properly include React Native libraries Currently, there are numerous ignored libraries that are hiding type errors. Actually, they're causing type errors too. This sort of thing only patches over actual problems, so we have to revert them to get a config we can build upon. * Update react-native/flow-bin dependencies We want to have Flow types working with the latest packages. * Update flow-typed libraries (auto-generated) * Fix typing of navigation prop used by withNavigation HOC The current typing is clearly a typo, as it is circular. `NavigationScreenProp` should be used to type the navigation prop * Fix typing of easing function What's funny is that I fixed this before in d71ed75133b97e33a8a683eda334b3005107d379. @skevy reintroduced the mistyped function in 9436d03fe8fface09001a5a40ce0aa8a01ad9e7e, which didn't trigger any Flow errors because .flowconfig was ignoring the entire react-native package * Correct typing of View and Text style prop The current code thinks it can import these, but this isn't true, and was being hidden because the .flowconfig ignored the whole react-native package. There's no easy to type Text and View at the current moment, as far as I can tell. Importing the highly generic `StyleObj` seems like the best bet, and is what I have being using in my projects. * Import NavigationScreenComponent using full path * Updating yarn.lock files * Get rid of library overrides in flow-typed/react-native.js and flow/react-navigation.js * Add @flow to src/react-navigation.js and make last three params to createNavigator optional * Make screenProps and navigationOptions optional in NavigationNavigatorProps * yarn run format * Readd react-navigation/node_modules ignore to NavigationPlayground's .flowconfig Realized this line I removed in the first commit is necessary when using npm link/yarn link, which is what the CircleCI build does * Make all DrawerViewConfig's params optional Some of these params are marked as optional because they have defaults. However, the only place `DrawerViewConfig` is used is as the input the function that then applies the defaults * Make all props in NavigationNavigatorProps optional `NavigationNavigatorProps` is used to type the props of the component that is output by the `StackNavigator`, `TabNavigator`, etc. component factories. This component does not need to have any props specified. * Make second param to `DrawerNavigator` factory optional `DrawerNavigator`, just like `TabNavigator` and `StackNavigator`, can be called with just a single argument (ie. omitting the config) * Upgrade to RN 0.48.4 to address https://github.com/facebook/react-native/issues/15810
This commit is contained in:
parent
17c910fb5d
commit
b759d3136e
13
.flowconfig
13
.flowconfig
@ -5,9 +5,6 @@
|
||||
; Ignore templates for 'react-native init'
|
||||
.*/local-cli/templates/.*
|
||||
|
||||
; Ignore the website subdir
|
||||
.*/node_modules/react-native/website/.*
|
||||
|
||||
; Ignore "BUCK" generated dirs
|
||||
.*/node_modules/react-native/\.buckd/
|
||||
|
||||
@ -19,13 +16,7 @@
|
||||
<PROJECT_ROOT>/website/node_modules/react-native/.*
|
||||
<PROJECT_ROOT>/website/node_modules/fbjs/.*
|
||||
|
||||
; Ignore misc packages
|
||||
.*/node_modules/eslint-.*
|
||||
.*/node_modules/react-native-tab-view/.*
|
||||
|
||||
; Ignore react-native
|
||||
.*/node_modules/react-native/.*
|
||||
|
||||
; Ignore transpiled folders and examples folder
|
||||
<PROJECT_ROOT>/lib
|
||||
<PROJECT_ROOT>/lib-rn
|
||||
<PROJECT_ROOT>/examples
|
||||
@ -33,6 +24,8 @@
|
||||
[include]
|
||||
|
||||
[libs]
|
||||
node_modules/react-native/Libraries/react-native/react-native-interface.js
|
||||
node_modules/react-native/flow
|
||||
|
||||
[options]
|
||||
module.system=haste
|
||||
|
@ -14,6 +14,8 @@
|
||||
.*/Libraries/react-native/React.js
|
||||
.*/Libraries/react-native/ReactNative.js
|
||||
|
||||
.*/react-navigation/node_modules/.*
|
||||
|
||||
; Additional create-react-native-app ignores
|
||||
|
||||
; Ignore duplicate module providers
|
||||
@ -30,15 +32,8 @@
|
||||
; Ignore react-native-fbads dependency of the expo sdk
|
||||
.*/node_modules/react-native-fbads/*
|
||||
|
||||
.*/node_modules/react-native-tab-view/.*
|
||||
|
||||
; Ignore react-native
|
||||
.*/node_modules/react-native/.*
|
||||
|
||||
.*/react-navigation/lib-rn/.*
|
||||
.*/react-navigation/lib/.*
|
||||
.*/react-navigation/src/.*
|
||||
.*/react-navigation/node_modules/.*
|
||||
|
||||
.*/react-navigation/examples/ReduxExample/.*
|
||||
.*/react-navigation/website/.*
|
||||
@ -46,8 +41,8 @@
|
||||
[include]
|
||||
|
||||
[libs]
|
||||
../../flow-typed/react-native.js
|
||||
../../flow/react-navigation.js
|
||||
node_modules/react-native/Libraries/react-native/react-native-interface.js
|
||||
node_modules/react-native/flow
|
||||
|
||||
[options]
|
||||
module.system=haste
|
||||
@ -59,6 +54,10 @@ experimental.strict_type_args=true
|
||||
munge_underscores=true
|
||||
|
||||
module.name_mapper='^[./a-zA-Z0-9$_-]+\.\(bmp\|gif\|jpg\|jpeg\|png\|psd\|svg\|webp\|m4v\|mov\|mp4\|mpeg\|mpg\|webm\|aac\|aiff\|caf\|m4a\|mp3\|wav\|html\|pdf\)$' -> 'RelativeImageStub'
|
||||
module.file_ext=.js
|
||||
module.file_ext=.jsx
|
||||
module.file_ext=.json
|
||||
module.file_ext=.native.js
|
||||
|
||||
suppress_type=$FlowIssue
|
||||
suppress_type=$FlowFixMe
|
||||
|
@ -1,5 +1,5 @@
|
||||
// flow-typed signature: 02359da7064195804e62c853de1fc44e
|
||||
// flow-typed version: <<STUB>>/babel-jest_v^20.0.1/flow_v0.49.1
|
||||
// flow-typed signature: e14baf3e1691e7c886f1f41fac30e58e
|
||||
// flow-typed version: <<STUB>>/babel-jest_v^21.0.0/flow_v0.51.0
|
||||
|
||||
/**
|
||||
* This is an autogenerated libdef stub for:
|
||||
|
@ -1,5 +1,5 @@
|
||||
// flow-typed signature: 444bd87de0128136ea844018abc25fed
|
||||
// flow-typed version: <<STUB>>/expo_v^18.0.0/flow_v0.49.1
|
||||
// flow-typed signature: 98c0d9a4701eab283a2fe842f1cede94
|
||||
// flow-typed version: <<STUB>>/expo_v^20.1.2/flow_v0.51.0
|
||||
|
||||
/**
|
||||
* This is an autogenerated libdef stub for:
|
||||
@ -26,19 +26,27 @@ declare module 'expo/AppEntry' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'expo/src/__tests__/helpers' {
|
||||
declare module 'expo/src/__tests__/Amplitude-test' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'expo/src/__tests__/Location-tests' {
|
||||
declare module 'expo/src/__tests__/Location-test' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'expo/src/__tests__/Notifications-tests' {
|
||||
declare module 'expo/src/__tests__/Notifications-test' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'expo/src/Accelerometer' {
|
||||
declare module 'expo/src/__tests__/Segment-test' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'expo/src/__tests__/WebBrowser-test' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'expo/src/Amplitude' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
@ -78,6 +86,10 @@ declare module 'expo/src/BlurView.ios' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'expo/src/Camera' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'expo/src/Constants' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
@ -86,10 +98,6 @@ declare module 'expo/src/Contacts' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'expo/src/createTHREEViewClass' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'expo/src/DangerZone' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
@ -130,6 +138,14 @@ declare module 'expo/src/FacebookAds/withNativeAd' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'expo/src/FileSystem' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'expo/src/Fingerprint' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'expo/src/Font' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
@ -142,10 +158,6 @@ declare module 'expo/src/Google' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'expo/src/Gyroscope' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'expo/src/Icon' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
@ -170,10 +182,6 @@ declare module 'expo/src/LegacyAsyncStorage.ios' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'expo/src/lib/createSensorWrapper' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'expo/src/lib/Queue' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
@ -194,10 +202,30 @@ declare module 'expo/src/Logs' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'expo/src/Modal/Modal' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'expo/src/Modal/ModalHost' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'expo/src/Modal/ModalImplementation' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'expo/src/Modal/PureContainer' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'expo/src/Notifications' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'expo/src/Payments' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'expo/src/Pedometer' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
@ -214,6 +242,54 @@ declare module 'expo/src/ScreenOrientation' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'expo/src/SecureStore' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'expo/src/Segment' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'expo/src/sensor/__tests__/Accelerometer-test' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'expo/src/sensor/__tests__/Gyroscope-test' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'expo/src/sensor/__tests__/Magnetometer-test' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'expo/src/sensor/__tests__/ThreeAxisSensor-test' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'expo/src/sensor/Accelerometer' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'expo/src/sensor/Gyroscope' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'expo/src/sensor/Magnetometer' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'expo/src/sensor/MagnetometerUncalibrated' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'expo/src/sensor/ThreeAxisSensor' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'expo/src/Speech' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'expo/src/SQLite' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
@ -226,10 +302,18 @@ declare module 'expo/src/takeSnapshotAsync' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'expo/src/Util' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'expo/src/Video' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'expo/src/WebBrowser' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'expo/tools/hashAssetFiles' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
@ -242,17 +326,23 @@ declare module 'expo/tools/LogReporter' {
|
||||
declare module 'expo/AppEntry.js' {
|
||||
declare module.exports: $Exports<'expo/AppEntry'>;
|
||||
}
|
||||
declare module 'expo/src/__tests__/helpers.js' {
|
||||
declare module.exports: $Exports<'expo/src/__tests__/helpers'>;
|
||||
declare module 'expo/src/__tests__/Amplitude-test.js' {
|
||||
declare module.exports: $Exports<'expo/src/__tests__/Amplitude-test'>;
|
||||
}
|
||||
declare module 'expo/src/__tests__/Location-tests.js' {
|
||||
declare module.exports: $Exports<'expo/src/__tests__/Location-tests'>;
|
||||
declare module 'expo/src/__tests__/Location-test.js' {
|
||||
declare module.exports: $Exports<'expo/src/__tests__/Location-test'>;
|
||||
}
|
||||
declare module 'expo/src/__tests__/Notifications-tests.js' {
|
||||
declare module.exports: $Exports<'expo/src/__tests__/Notifications-tests'>;
|
||||
declare module 'expo/src/__tests__/Notifications-test.js' {
|
||||
declare module.exports: $Exports<'expo/src/__tests__/Notifications-test'>;
|
||||
}
|
||||
declare module 'expo/src/Accelerometer.js' {
|
||||
declare module.exports: $Exports<'expo/src/Accelerometer'>;
|
||||
declare module 'expo/src/__tests__/Segment-test.js' {
|
||||
declare module.exports: $Exports<'expo/src/__tests__/Segment-test'>;
|
||||
}
|
||||
declare module 'expo/src/__tests__/WebBrowser-test.js' {
|
||||
declare module.exports: $Exports<'expo/src/__tests__/WebBrowser-test'>;
|
||||
}
|
||||
declare module 'expo/src/Amplitude.js' {
|
||||
declare module.exports: $Exports<'expo/src/Amplitude'>;
|
||||
}
|
||||
declare module 'expo/src/apisAreAvailable.js' {
|
||||
declare module.exports: $Exports<'expo/src/apisAreAvailable'>;
|
||||
@ -281,15 +371,15 @@ declare module 'expo/src/BlurView.android.js' {
|
||||
declare module 'expo/src/BlurView.ios.js' {
|
||||
declare module.exports: $Exports<'expo/src/BlurView.ios'>;
|
||||
}
|
||||
declare module 'expo/src/Camera.js' {
|
||||
declare module.exports: $Exports<'expo/src/Camera'>;
|
||||
}
|
||||
declare module 'expo/src/Constants.js' {
|
||||
declare module.exports: $Exports<'expo/src/Constants'>;
|
||||
}
|
||||
declare module 'expo/src/Contacts.js' {
|
||||
declare module.exports: $Exports<'expo/src/Contacts'>;
|
||||
}
|
||||
declare module 'expo/src/createTHREEViewClass.js' {
|
||||
declare module.exports: $Exports<'expo/src/createTHREEViewClass'>;
|
||||
}
|
||||
declare module 'expo/src/DangerZone.js' {
|
||||
declare module.exports: $Exports<'expo/src/DangerZone'>;
|
||||
}
|
||||
@ -320,6 +410,12 @@ declare module 'expo/src/FacebookAds/NativeAdsManager.js' {
|
||||
declare module 'expo/src/FacebookAds/withNativeAd.js' {
|
||||
declare module.exports: $Exports<'expo/src/FacebookAds/withNativeAd'>;
|
||||
}
|
||||
declare module 'expo/src/FileSystem.js' {
|
||||
declare module.exports: $Exports<'expo/src/FileSystem'>;
|
||||
}
|
||||
declare module 'expo/src/Fingerprint.js' {
|
||||
declare module.exports: $Exports<'expo/src/Fingerprint'>;
|
||||
}
|
||||
declare module 'expo/src/Font.js' {
|
||||
declare module.exports: $Exports<'expo/src/Font'>;
|
||||
}
|
||||
@ -329,9 +425,6 @@ declare module 'expo/src/GLView.js' {
|
||||
declare module 'expo/src/Google.js' {
|
||||
declare module.exports: $Exports<'expo/src/Google'>;
|
||||
}
|
||||
declare module 'expo/src/Gyroscope.js' {
|
||||
declare module.exports: $Exports<'expo/src/Gyroscope'>;
|
||||
}
|
||||
declare module 'expo/src/Icon.js' {
|
||||
declare module.exports: $Exports<'expo/src/Icon'>;
|
||||
}
|
||||
@ -350,9 +443,6 @@ declare module 'expo/src/LegacyAsyncStorage.android.js' {
|
||||
declare module 'expo/src/LegacyAsyncStorage.ios.js' {
|
||||
declare module.exports: $Exports<'expo/src/LegacyAsyncStorage.ios'>;
|
||||
}
|
||||
declare module 'expo/src/lib/createSensorWrapper.js' {
|
||||
declare module.exports: $Exports<'expo/src/lib/createSensorWrapper'>;
|
||||
}
|
||||
declare module 'expo/src/lib/Queue.js' {
|
||||
declare module.exports: $Exports<'expo/src/lib/Queue'>;
|
||||
}
|
||||
@ -368,9 +458,24 @@ declare module 'expo/src/Location.js' {
|
||||
declare module 'expo/src/Logs.js' {
|
||||
declare module.exports: $Exports<'expo/src/Logs'>;
|
||||
}
|
||||
declare module 'expo/src/Modal/Modal.js' {
|
||||
declare module.exports: $Exports<'expo/src/Modal/Modal'>;
|
||||
}
|
||||
declare module 'expo/src/Modal/ModalHost.js' {
|
||||
declare module.exports: $Exports<'expo/src/Modal/ModalHost'>;
|
||||
}
|
||||
declare module 'expo/src/Modal/ModalImplementation.js' {
|
||||
declare module.exports: $Exports<'expo/src/Modal/ModalImplementation'>;
|
||||
}
|
||||
declare module 'expo/src/Modal/PureContainer.js' {
|
||||
declare module.exports: $Exports<'expo/src/Modal/PureContainer'>;
|
||||
}
|
||||
declare module 'expo/src/Notifications.js' {
|
||||
declare module.exports: $Exports<'expo/src/Notifications'>;
|
||||
}
|
||||
declare module 'expo/src/Payments.js' {
|
||||
declare module.exports: $Exports<'expo/src/Payments'>;
|
||||
}
|
||||
declare module 'expo/src/Pedometer.js' {
|
||||
declare module.exports: $Exports<'expo/src/Pedometer'>;
|
||||
}
|
||||
@ -383,6 +488,42 @@ declare module 'expo/src/registerRootComponent.js' {
|
||||
declare module 'expo/src/ScreenOrientation.js' {
|
||||
declare module.exports: $Exports<'expo/src/ScreenOrientation'>;
|
||||
}
|
||||
declare module 'expo/src/SecureStore.js' {
|
||||
declare module.exports: $Exports<'expo/src/SecureStore'>;
|
||||
}
|
||||
declare module 'expo/src/Segment.js' {
|
||||
declare module.exports: $Exports<'expo/src/Segment'>;
|
||||
}
|
||||
declare module 'expo/src/sensor/__tests__/Accelerometer-test.js' {
|
||||
declare module.exports: $Exports<'expo/src/sensor/__tests__/Accelerometer-test'>;
|
||||
}
|
||||
declare module 'expo/src/sensor/__tests__/Gyroscope-test.js' {
|
||||
declare module.exports: $Exports<'expo/src/sensor/__tests__/Gyroscope-test'>;
|
||||
}
|
||||
declare module 'expo/src/sensor/__tests__/Magnetometer-test.js' {
|
||||
declare module.exports: $Exports<'expo/src/sensor/__tests__/Magnetometer-test'>;
|
||||
}
|
||||
declare module 'expo/src/sensor/__tests__/ThreeAxisSensor-test.js' {
|
||||
declare module.exports: $Exports<'expo/src/sensor/__tests__/ThreeAxisSensor-test'>;
|
||||
}
|
||||
declare module 'expo/src/sensor/Accelerometer.js' {
|
||||
declare module.exports: $Exports<'expo/src/sensor/Accelerometer'>;
|
||||
}
|
||||
declare module 'expo/src/sensor/Gyroscope.js' {
|
||||
declare module.exports: $Exports<'expo/src/sensor/Gyroscope'>;
|
||||
}
|
||||
declare module 'expo/src/sensor/Magnetometer.js' {
|
||||
declare module.exports: $Exports<'expo/src/sensor/Magnetometer'>;
|
||||
}
|
||||
declare module 'expo/src/sensor/MagnetometerUncalibrated.js' {
|
||||
declare module.exports: $Exports<'expo/src/sensor/MagnetometerUncalibrated'>;
|
||||
}
|
||||
declare module 'expo/src/sensor/ThreeAxisSensor.js' {
|
||||
declare module.exports: $Exports<'expo/src/sensor/ThreeAxisSensor'>;
|
||||
}
|
||||
declare module 'expo/src/Speech.js' {
|
||||
declare module.exports: $Exports<'expo/src/Speech'>;
|
||||
}
|
||||
declare module 'expo/src/SQLite.js' {
|
||||
declare module.exports: $Exports<'expo/src/SQLite'>;
|
||||
}
|
||||
@ -392,9 +533,15 @@ declare module 'expo/src/Svg.js' {
|
||||
declare module 'expo/src/takeSnapshotAsync.js' {
|
||||
declare module.exports: $Exports<'expo/src/takeSnapshotAsync'>;
|
||||
}
|
||||
declare module 'expo/src/Util.js' {
|
||||
declare module.exports: $Exports<'expo/src/Util'>;
|
||||
}
|
||||
declare module 'expo/src/Video.js' {
|
||||
declare module.exports: $Exports<'expo/src/Video'>;
|
||||
}
|
||||
declare module 'expo/src/WebBrowser.js' {
|
||||
declare module.exports: $Exports<'expo/src/WebBrowser'>;
|
||||
}
|
||||
declare module 'expo/tools/hashAssetFiles.js' {
|
||||
declare module.exports: $Exports<'expo/tools/hashAssetFiles'>;
|
||||
}
|
||||
|
@ -1,5 +1,5 @@
|
||||
// flow-typed signature: 78cb3ace3a9f947db21eb0844455536c
|
||||
// flow-typed version: <<STUB>>/jest-expo_v^0.4.0/flow_v0.49.1
|
||||
// flow-typed signature: 1ad43f34af61a5f84f991aeeb41b14a8
|
||||
// flow-typed version: <<STUB>>/jest-expo_v^20.0.0/flow_v0.51.0
|
||||
|
||||
/**
|
||||
* This is an autogenerated libdef stub for:
|
||||
@ -22,15 +22,7 @@ declare module 'jest-expo' {
|
||||
* require those files directly. Feel free to delete any files that aren't
|
||||
* needed.
|
||||
*/
|
||||
declare module 'jest-expo/src/bridgeMock' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'jest-expo/src/exponentModules' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'jest-expo/src/index' {
|
||||
declare module 'jest-expo/src/expoModules' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
@ -39,14 +31,8 @@ declare module 'jest-expo/src/setup' {
|
||||
}
|
||||
|
||||
// Filename aliases
|
||||
declare module 'jest-expo/src/bridgeMock.js' {
|
||||
declare module.exports: $Exports<'jest-expo/src/bridgeMock'>;
|
||||
}
|
||||
declare module 'jest-expo/src/exponentModules.js' {
|
||||
declare module.exports: $Exports<'jest-expo/src/exponentModules'>;
|
||||
}
|
||||
declare module 'jest-expo/src/index.js' {
|
||||
declare module.exports: $Exports<'jest-expo/src/index'>;
|
||||
declare module 'jest-expo/src/expoModules.js' {
|
||||
declare module.exports: $Exports<'jest-expo/src/expoModules'>;
|
||||
}
|
||||
declare module 'jest-expo/src/setup.js' {
|
||||
declare module.exports: $Exports<'jest-expo/src/setup'>;
|
||||
|
39
examples/NavigationPlayground/flow-typed/npm/jest_vx.x.x.js
vendored
Normal file
39
examples/NavigationPlayground/flow-typed/npm/jest_vx.x.x.js
vendored
Normal file
@ -0,0 +1,39 @@
|
||||
// flow-typed signature: a2ca8bd1c604da82be334553e16a579e
|
||||
// flow-typed version: <<STUB>>/jest_v^21.0.1/flow_v0.51.0
|
||||
|
||||
/**
|
||||
* This is an autogenerated libdef stub for:
|
||||
*
|
||||
* 'jest'
|
||||
*
|
||||
* Fill this stub out by replacing all the `any` types.
|
||||
*
|
||||
* Once filled out, we encourage you to share your work with the
|
||||
* community by sending a pull request to:
|
||||
* https://github.com/flowtype/flow-typed
|
||||
*/
|
||||
|
||||
declare module 'jest' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
/**
|
||||
* We include stubs for each file inside this npm package in case you need to
|
||||
* require those files directly. Feel free to delete any files that aren't
|
||||
* needed.
|
||||
*/
|
||||
declare module 'jest/bin/jest' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'jest/build/jest' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
// Filename aliases
|
||||
declare module 'jest/bin/jest.js' {
|
||||
declare module.exports: $Exports<'jest/bin/jest'>;
|
||||
}
|
||||
declare module 'jest/build/jest.js' {
|
||||
declare module.exports: $Exports<'jest/build/jest'>;
|
||||
}
|
33
examples/NavigationPlayground/flow-typed/npm/react-addons-test-utils_vx.x.x.js
vendored
Normal file
33
examples/NavigationPlayground/flow-typed/npm/react-addons-test-utils_vx.x.x.js
vendored
Normal file
@ -0,0 +1,33 @@
|
||||
// flow-typed signature: 48eadf295dbbf5eb2f1696eb8b426800
|
||||
// flow-typed version: <<STUB>>/react-addons-test-utils_v16.0.0-alpha.3/flow_v0.51.0
|
||||
|
||||
/**
|
||||
* This is an autogenerated libdef stub for:
|
||||
*
|
||||
* 'react-addons-test-utils'
|
||||
*
|
||||
* Fill this stub out by replacing all the `any` types.
|
||||
*
|
||||
* Once filled out, we encourage you to share your work with the
|
||||
* community by sending a pull request to:
|
||||
* https://github.com/flowtype/flow-typed
|
||||
*/
|
||||
|
||||
declare module 'react-addons-test-utils' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
/**
|
||||
* We include stubs for each file inside this npm package in case you need to
|
||||
* require those files directly. Feel free to delete any files that aren't
|
||||
* needed.
|
||||
*/
|
||||
|
||||
|
||||
// Filename aliases
|
||||
declare module 'react-addons-test-utils/index' {
|
||||
declare module.exports: $Exports<'react-addons-test-utils'>;
|
||||
}
|
||||
declare module 'react-addons-test-utils/index.js' {
|
||||
declare module.exports: $Exports<'react-addons-test-utils'>;
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
// flow-typed signature: b977a47341d5daaaaf60fbb3a052a329
|
||||
// flow-typed version: <<STUB>>/react-native-scripts_v^0.0.40/flow_v0.49.1
|
||||
// flow-typed signature: ff6ce4595bf218af569f33145a252678
|
||||
// flow-typed version: <<STUB>>/react-native-scripts_v^1.3.1/flow_v0.51.0
|
||||
|
||||
/**
|
||||
* This is an autogenerated libdef stub for:
|
||||
@ -50,10 +50,18 @@ declare module 'react-native-scripts/build/scripts/start' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'react-native-scripts/build/util/clearConsole' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'react-native-scripts/build/util/expo' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'react-native-scripts/build/util/install' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'react-native-scripts/build/util/log' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
@ -92,9 +100,15 @@ declare module 'react-native-scripts/build/scripts/ios.js' {
|
||||
declare module 'react-native-scripts/build/scripts/start.js' {
|
||||
declare module.exports: $Exports<'react-native-scripts/build/scripts/start'>;
|
||||
}
|
||||
declare module 'react-native-scripts/build/util/clearConsole.js' {
|
||||
declare module.exports: $Exports<'react-native-scripts/build/util/clearConsole'>;
|
||||
}
|
||||
declare module 'react-native-scripts/build/util/expo.js' {
|
||||
declare module.exports: $Exports<'react-native-scripts/build/util/expo'>;
|
||||
}
|
||||
declare module 'react-native-scripts/build/util/install.js' {
|
||||
declare module.exports: $Exports<'react-native-scripts/build/util/install'>;
|
||||
}
|
||||
declare module 'react-native-scripts/build/util/log.js' {
|
||||
declare module.exports: $Exports<'react-native-scripts/build/util/log'>;
|
||||
}
|
||||
|
4610
examples/NavigationPlayground/flow-typed/npm/react-native_vx.x.x.js
vendored
Normal file
4610
examples/NavigationPlayground/flow-typed/npm/react-native_vx.x.x.js
vendored
Normal file
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -13,13 +13,13 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"expo": "^20.1.2",
|
||||
"flow-bin": "^0.49.1",
|
||||
"react": "16.0.0-alpha.12",
|
||||
"react-native": "~0.47.2",
|
||||
"react-native": "~0.48.4",
|
||||
"react-navigation": "file:../.."
|
||||
},
|
||||
"devDependencies": {
|
||||
"babel-jest": "^21.0.0",
|
||||
"flow-bin": "^0.51.0",
|
||||
"jest": "^21.0.1",
|
||||
"jest-expo": "^20.0.0",
|
||||
"react-addons-test-utils": "16.0.0-alpha.3",
|
||||
|
@ -618,6 +618,13 @@ babel-plugin-transform-decorators-legacy@^1.3.4:
|
||||
babel-runtime "^6.2.0"
|
||||
babel-template "^6.3.0"
|
||||
|
||||
babel-plugin-transform-define@^1.3.0:
|
||||
version "1.3.0"
|
||||
resolved "https://registry.yarnpkg.com/babel-plugin-transform-define/-/babel-plugin-transform-define-1.3.0.tgz#94c5f9459c810c738cc7c50cbd44a31829d6f319"
|
||||
dependencies:
|
||||
lodash "4.17.4"
|
||||
traverse "0.6.6"
|
||||
|
||||
babel-plugin-transform-es2015-arrow-functions@^6.5.0, babel-plugin-transform-es2015-arrow-functions@^6.5.2, babel-plugin-transform-es2015-arrow-functions@^6.8.0:
|
||||
version "6.22.0"
|
||||
resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-arrow-functions/-/babel-plugin-transform-es2015-arrow-functions-6.22.0.tgz#452692cb711d5f79dc7f85e440ce41b9f244d221"
|
||||
@ -891,7 +898,7 @@ babel-preset-fbjs@^1.0.0:
|
||||
babel-plugin-transform-object-rest-spread "^6.6.5"
|
||||
object-assign "^4.0.1"
|
||||
|
||||
babel-preset-fbjs@^2.1.0, babel-preset-fbjs@^2.1.4:
|
||||
babel-preset-fbjs@^2.1.4:
|
||||
version "2.1.4"
|
||||
resolved "https://registry.yarnpkg.com/babel-preset-fbjs/-/babel-preset-fbjs-2.1.4.tgz#22f358e6654073acf61e47a052a777d7bccf03af"
|
||||
dependencies:
|
||||
@ -942,40 +949,6 @@ babel-preset-jest@^21.0.0:
|
||||
dependencies:
|
||||
babel-plugin-jest-hoist "^21.0.0"
|
||||
|
||||
babel-preset-react-native@^1.9.1:
|
||||
version "1.9.2"
|
||||
resolved "https://registry.yarnpkg.com/babel-preset-react-native/-/babel-preset-react-native-1.9.2.tgz#b22addd2e355ff3b39671b79be807e52dfa145f2"
|
||||
dependencies:
|
||||
babel-plugin-check-es2015-constants "^6.5.0"
|
||||
babel-plugin-react-transform "2.0.2"
|
||||
babel-plugin-syntax-async-functions "^6.5.0"
|
||||
babel-plugin-syntax-class-properties "^6.5.0"
|
||||
babel-plugin-syntax-flow "^6.5.0"
|
||||
babel-plugin-syntax-jsx "^6.5.0"
|
||||
babel-plugin-syntax-trailing-function-commas "^6.5.0"
|
||||
babel-plugin-transform-class-properties "^6.5.0"
|
||||
babel-plugin-transform-es2015-arrow-functions "^6.5.0"
|
||||
babel-plugin-transform-es2015-block-scoping "^6.5.0"
|
||||
babel-plugin-transform-es2015-classes "^6.5.0"
|
||||
babel-plugin-transform-es2015-computed-properties "^6.5.0"
|
||||
babel-plugin-transform-es2015-destructuring "^6.5.0"
|
||||
babel-plugin-transform-es2015-for-of "^6.5.0"
|
||||
babel-plugin-transform-es2015-function-name "^6.5.0"
|
||||
babel-plugin-transform-es2015-literals "^6.5.0"
|
||||
babel-plugin-transform-es2015-modules-commonjs "^6.5.0"
|
||||
babel-plugin-transform-es2015-parameters "^6.5.0"
|
||||
babel-plugin-transform-es2015-shorthand-properties "^6.5.0"
|
||||
babel-plugin-transform-es2015-spread "^6.5.0"
|
||||
babel-plugin-transform-es2015-template-literals "^6.5.0"
|
||||
babel-plugin-transform-flow-strip-types "^6.5.0"
|
||||
babel-plugin-transform-object-assign "^6.5.0"
|
||||
babel-plugin-transform-object-rest-spread "^6.5.0"
|
||||
babel-plugin-transform-react-display-name "^6.5.0"
|
||||
babel-plugin-transform-react-jsx "^6.5.0"
|
||||
babel-plugin-transform-react-jsx-source "^6.5.0"
|
||||
babel-plugin-transform-regenerator "^6.5.0"
|
||||
react-transform-hmr "^1.0.4"
|
||||
|
||||
babel-preset-react-native@^2.0.0, babel-preset-react-native@^2.1.0:
|
||||
version "2.1.0"
|
||||
resolved "https://registry.yarnpkg.com/babel-preset-react-native/-/babel-preset-react-native-2.1.0.tgz#9013ebd82da1c88102bf588810ff59e209ca2b8a"
|
||||
@ -1798,6 +1771,14 @@ encoding@^0.1.11:
|
||||
dependencies:
|
||||
iconv-lite "~0.4.13"
|
||||
|
||||
envinfo@^3.0.0:
|
||||
version "3.4.1"
|
||||
resolved "https://registry.yarnpkg.com/envinfo/-/envinfo-3.4.1.tgz#8c80e9f2eec2cd4e2adb2c5d0127ce07a2aaa2ae"
|
||||
dependencies:
|
||||
minimist "^1.2.0"
|
||||
os-name "^2.0.1"
|
||||
which "^1.2.14"
|
||||
|
||||
"errno@>=0.1.1 <0.2.0-0", errno@^0.1.4:
|
||||
version "0.1.4"
|
||||
resolved "https://registry.yarnpkg.com/errno/-/errno-0.1.4.tgz#b896e23a9e5e8ba33871fc996abd3635fc9a1c7d"
|
||||
@ -2162,9 +2143,9 @@ find-up@^2.1.0:
|
||||
dependencies:
|
||||
locate-path "^2.0.0"
|
||||
|
||||
flow-bin@^0.49.1:
|
||||
version "0.49.1"
|
||||
resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.49.1.tgz#c9e456b3173a7535a4ffaf28956352c63bb8e3e9"
|
||||
flow-bin@^0.51.0:
|
||||
version "0.51.1"
|
||||
resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.51.1.tgz#7929c6f0a94e765429fcb2ee6e468278faa9c732"
|
||||
|
||||
for-in@^1.0.1:
|
||||
version "1.0.2"
|
||||
@ -2600,9 +2581,9 @@ iconv-lite@0.4.18, iconv-lite@^0.4.17, iconv-lite@~0.4.13:
|
||||
version "0.4.18"
|
||||
resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.18.tgz#23d8656b16aae6742ac29732ea8f0336a4789cf2"
|
||||
|
||||
image-size@^0.3.5:
|
||||
version "0.3.5"
|
||||
resolved "https://registry.yarnpkg.com/image-size/-/image-size-0.3.5.tgz#83240eab2fb5b00b04aab8c74b0471e9cba7ad8c"
|
||||
image-size@^0.6.0:
|
||||
version "0.6.1"
|
||||
resolved "https://registry.yarnpkg.com/image-size/-/image-size-0.6.1.tgz#98122a562d59dcc097ef1b2c8191866eb8f5d663"
|
||||
|
||||
immediate@^3.2.2:
|
||||
version "3.2.3"
|
||||
@ -3035,11 +3016,19 @@ jest-diff@^21.0.0:
|
||||
jest-get-type "^21.0.0"
|
||||
pretty-format "^21.0.0"
|
||||
|
||||
jest-docblock@20.1.0-chi.1:
|
||||
version "20.1.0-chi.1"
|
||||
resolved "https://registry.yarnpkg.com/jest-docblock/-/jest-docblock-20.1.0-chi.1.tgz#06981ab0e59498a2492333b0c5502a82e4603207"
|
||||
|
||||
jest-docblock@20.1.0-delta.4:
|
||||
version "20.1.0-delta.4"
|
||||
resolved "https://registry.yarnpkg.com/jest-docblock/-/jest-docblock-20.1.0-delta.4.tgz#360d4f5fb702730c4136c4e71e5706188a694682"
|
||||
|
||||
jest-docblock@^20.0.3:
|
||||
version "20.0.3"
|
||||
resolved "https://registry.yarnpkg.com/jest-docblock/-/jest-docblock-20.0.3.tgz#17bea984342cc33d83c50fbe1545ea0efaa44712"
|
||||
|
||||
jest-docblock@^20.1.0-alpha.3:
|
||||
jest-docblock@^20.1.0-chi.1:
|
||||
version "20.1.0-echo.1"
|
||||
resolved "https://registry.yarnpkg.com/jest-docblock/-/jest-docblock-20.1.0-echo.1.tgz#be02f43ee019f97e6b83267c746ac7b40d290fe8"
|
||||
|
||||
@ -3089,13 +3078,24 @@ jest-get-type@^21.0.0:
|
||||
version "21.0.0"
|
||||
resolved "https://registry.yarnpkg.com/jest-get-type/-/jest-get-type-21.0.0.tgz#ed8667533c0a24a4feebbf492661f23abac3620b"
|
||||
|
||||
jest-haste-map@20.1.0-alpha.3:
|
||||
version "20.1.0-alpha.3"
|
||||
resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-20.1.0-alpha.3.tgz#37a1eea267cd770b99114a39c049a287501edf72"
|
||||
jest-haste-map@20.1.0-chi.1:
|
||||
version "20.1.0-chi.1"
|
||||
resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-20.1.0-chi.1.tgz#db5f5f31362c76e242b40ea9a3ccfa364719cee3"
|
||||
dependencies:
|
||||
fb-watchman "^2.0.0"
|
||||
graceful-fs "^4.1.11"
|
||||
jest-docblock "^20.1.0-alpha.3"
|
||||
jest-docblock "^20.1.0-chi.1"
|
||||
micromatch "^2.3.11"
|
||||
sane "^2.0.0"
|
||||
worker-farm "^1.3.1"
|
||||
|
||||
jest-haste-map@20.1.0-delta.4:
|
||||
version "20.1.0-delta.4"
|
||||
resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-20.1.0-delta.4.tgz#12e32b297a6dd49705cacde938029fc158834006"
|
||||
dependencies:
|
||||
fb-watchman "^2.0.0"
|
||||
graceful-fs "^4.1.11"
|
||||
jest-docblock "20.1.0-delta.4"
|
||||
micromatch "^2.3.11"
|
||||
sane "^2.0.0"
|
||||
worker-farm "^1.3.1"
|
||||
@ -3702,14 +3702,14 @@ lodash.zipobject@^4.1.3:
|
||||
version "4.1.3"
|
||||
resolved "https://registry.yarnpkg.com/lodash.zipobject/-/lodash.zipobject-4.1.3.tgz#b399f5aba8ff62a746f6979bf20b214f964dbef8"
|
||||
|
||||
lodash@4.17.4, lodash@^4.0.0, lodash@^4.14.0, lodash@^4.14.1, lodash@^4.16.6, lodash@^4.17.4, lodash@^4.2.0, lodash@^4.2.1, lodash@^4.3.0, lodash@^4.6.1:
|
||||
version "4.17.4"
|
||||
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.4.tgz#78203a4d1c328ae1d86dca6460e369b57f4055ae"
|
||||
|
||||
lodash@^3.5.0:
|
||||
version "3.10.1"
|
||||
resolved "https://registry.yarnpkg.com/lodash/-/lodash-3.10.1.tgz#5bf45e8e49ba4189e17d482789dfd15bd140b7b6"
|
||||
|
||||
lodash@^4.0.0, lodash@^4.14.0, lodash@^4.14.1, lodash@^4.16.6, lodash@^4.17.4, lodash@^4.2.0, lodash@^4.2.1, lodash@^4.3.0, lodash@^4.6.1:
|
||||
version "4.17.4"
|
||||
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.4.tgz#78203a4d1c328ae1d86dca6460e369b57f4055ae"
|
||||
|
||||
longest@^1.0.1:
|
||||
version "1.0.1"
|
||||
resolved "https://registry.yarnpkg.com/longest/-/longest-1.0.1.tgz#30a0b2da38f73770e8294a0d22e6625ed77d0097"
|
||||
@ -3761,6 +3761,10 @@ lsmod@1.0.0:
|
||||
version "1.0.0"
|
||||
resolved "https://registry.yarnpkg.com/lsmod/-/lsmod-1.0.0.tgz#9a00f76dca36eb23fa05350afe1b585d4299e64b"
|
||||
|
||||
macos-release@^1.0.0:
|
||||
version "1.1.0"
|
||||
resolved "https://registry.yarnpkg.com/macos-release/-/macos-release-1.1.0.tgz#831945e29365b470aa8724b0ab36c8f8959d10fb"
|
||||
|
||||
makeerror@1.0.x:
|
||||
version "1.0.11"
|
||||
resolved "https://registry.yarnpkg.com/makeerror/-/makeerror-1.0.11.tgz#e01a5c9109f2af79660e4e8b9587790184f5a96c"
|
||||
@ -3814,9 +3818,9 @@ methods@^1.1.1, methods@~1.1.2:
|
||||
version "1.1.2"
|
||||
resolved "https://registry.yarnpkg.com/methods/-/methods-1.1.2.tgz#5529a4d67654134edcc5266656835b0f851afcee"
|
||||
|
||||
metro-bundler@^0.9.0:
|
||||
version "0.9.2"
|
||||
resolved "https://registry.yarnpkg.com/metro-bundler/-/metro-bundler-0.9.2.tgz#a23c1e0c28fc920f4280980dc7c3bb54e51d0240"
|
||||
metro-bundler@^0.11.0:
|
||||
version "0.11.0"
|
||||
resolved "https://registry.yarnpkg.com/metro-bundler/-/metro-bundler-0.11.0.tgz#ba5d2ae34943da28a37c2098047ad265c16fddf4"
|
||||
dependencies:
|
||||
absolute-path "^0.0.0"
|
||||
async "^2.4.0"
|
||||
@ -3824,8 +3828,8 @@ metro-bundler@^0.9.0:
|
||||
babel-generator "^6.24.1"
|
||||
babel-plugin-external-helpers "^6.18.0"
|
||||
babel-preset-es2015-node "^6.1.1"
|
||||
babel-preset-fbjs "^2.1.0"
|
||||
babel-preset-react-native "^1.9.1"
|
||||
babel-preset-fbjs "^2.1.4"
|
||||
babel-preset-react-native "^2.0.0"
|
||||
babel-register "^6.24.1"
|
||||
babylon "^6.17.0"
|
||||
chalk "^1.1.1"
|
||||
@ -3835,8 +3839,9 @@ metro-bundler@^0.9.0:
|
||||
denodeify "^1.2.1"
|
||||
fbjs "0.8.12"
|
||||
graceful-fs "^4.1.3"
|
||||
image-size "^0.3.5"
|
||||
jest-haste-map "^20.0.4"
|
||||
image-size "^0.6.0"
|
||||
jest-docblock "20.1.0-chi.1"
|
||||
jest-haste-map "20.1.0-chi.1"
|
||||
json-stable-stringify "^1.0.1"
|
||||
json5 "^0.4.0"
|
||||
left-pad "^1.1.3"
|
||||
@ -3848,7 +3853,7 @@ metro-bundler@^0.9.0:
|
||||
rimraf "^2.5.4"
|
||||
source-map "^0.5.6"
|
||||
temp "0.8.3"
|
||||
throat "^3.0.0"
|
||||
throat "^4.1.0"
|
||||
uglify-js "2.7.5"
|
||||
write-file-atomic "^1.2.0"
|
||||
xpipe "^1.0.5"
|
||||
@ -4209,6 +4214,13 @@ os-locale@^1.4.0:
|
||||
dependencies:
|
||||
lcid "^1.0.0"
|
||||
|
||||
os-name@^2.0.1:
|
||||
version "2.0.1"
|
||||
resolved "https://registry.yarnpkg.com/os-name/-/os-name-2.0.1.tgz#b9a386361c17ae3a21736ef0599405c9a8c5dc5e"
|
||||
dependencies:
|
||||
macos-release "^1.0.0"
|
||||
win-release "^1.0.0"
|
||||
|
||||
os-tmpdir@^1.0.0, os-tmpdir@^1.0.1, os-tmpdir@~1.0.1:
|
||||
version "1.0.2"
|
||||
resolved "https://registry.yarnpkg.com/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274"
|
||||
@ -4609,9 +4621,9 @@ react-deep-force-update@^1.0.0:
|
||||
version "1.1.1"
|
||||
resolved "https://registry.yarnpkg.com/react-deep-force-update/-/react-deep-force-update-1.1.1.tgz#bcd31478027b64b3339f108921ab520b4313dc2c"
|
||||
|
||||
react-devtools-core@2.3.1:
|
||||
version "2.3.1"
|
||||
resolved "https://registry.yarnpkg.com/react-devtools-core/-/react-devtools-core-2.3.1.tgz#dc83aba85735effe5e1dc386a1614cb5e8d0047d"
|
||||
react-devtools-core@^2.5.0:
|
||||
version "2.5.1"
|
||||
resolved "https://registry.yarnpkg.com/react-devtools-core/-/react-devtools-core-2.5.1.tgz#81ef30e0ac35c670d96b436d1f7510eaebe6c08b"
|
||||
dependencies:
|
||||
shell-quote "^1.6.1"
|
||||
ws "^2.0.3"
|
||||
@ -4676,7 +4688,7 @@ react-native-svg@5.3.0:
|
||||
color "^0.11.1"
|
||||
lodash "^4.16.6"
|
||||
|
||||
react-native-tab-view@~0.0.67:
|
||||
react-native-tab-view@^0.0.69:
|
||||
version "0.0.69"
|
||||
resolved "https://registry.yarnpkg.com/react-native-tab-view/-/react-native-tab-view-0.0.69.tgz#f52d4354a98a382f10eb5fcf61db5216c91dc7e7"
|
||||
dependencies:
|
||||
@ -4690,9 +4702,9 @@ react-native-vector-icons@4.1.1:
|
||||
prop-types "^15.5.8"
|
||||
yargs "^6.3.0"
|
||||
|
||||
react-native@~0.47.2:
|
||||
version "0.47.2"
|
||||
resolved "https://registry.yarnpkg.com/react-native/-/react-native-0.47.2.tgz#5e55cd84e4947123c86d36ea6f95ab9ed2d0cb19"
|
||||
react-native@~0.48.4:
|
||||
version "0.48.4"
|
||||
resolved "https://registry.yarnpkg.com/react-native/-/react-native-0.48.4.tgz#f305e9fef069a5b3f6a7250ddd50f603cf30ab2d"
|
||||
dependencies:
|
||||
absolute-path "^0.0.0"
|
||||
art "^0.10.0"
|
||||
@ -4724,6 +4736,7 @@ react-native@~0.47.2:
|
||||
create-react-class "^15.5.2"
|
||||
debug "^2.2.0"
|
||||
denodeify "^1.2.1"
|
||||
envinfo "^3.0.0"
|
||||
errno ">=0.1.1 <0.2.0-0"
|
||||
event-target-shim "^1.0.5"
|
||||
fbjs "0.8.12"
|
||||
@ -4733,13 +4746,13 @@ react-native@~0.47.2:
|
||||
glob "^7.1.1"
|
||||
graceful-fs "^4.1.3"
|
||||
inquirer "^3.0.6"
|
||||
jest-haste-map "20.1.0-alpha.3"
|
||||
jest-haste-map "20.1.0-delta.4"
|
||||
json-stable-stringify "^1.0.1"
|
||||
json5 "^0.4.0"
|
||||
left-pad "^1.1.3"
|
||||
lodash "^4.16.6"
|
||||
merge-stream "^1.0.1"
|
||||
metro-bundler "^0.9.0"
|
||||
metro-bundler "^0.11.0"
|
||||
mime "^1.3.4"
|
||||
mime-types "2.1.11"
|
||||
minimist "^1.2.0"
|
||||
@ -4753,7 +4766,7 @@ react-native@~0.47.2:
|
||||
promise "^7.1.1"
|
||||
prop-types "^15.5.8"
|
||||
react-clone-referenced-element "^1.0.1"
|
||||
react-devtools-core "2.3.1"
|
||||
react-devtools-core "^2.5.0"
|
||||
react-timer-mixin "^0.13.2"
|
||||
react-transform-hmr "^1.0.4"
|
||||
rebound "^0.0.13"
|
||||
@ -4766,7 +4779,7 @@ react-native@~0.47.2:
|
||||
source-map "^0.5.6"
|
||||
stacktrace-parser "^0.1.3"
|
||||
temp "0.8.3"
|
||||
throat "^3.0.0"
|
||||
throat "^4.1.0"
|
||||
whatwg-fetch "^1.0.0"
|
||||
wordwrap "^1.0.0"
|
||||
write-file-atomic "^1.2.0"
|
||||
@ -4780,12 +4793,13 @@ react-native@~0.47.2:
|
||||
"react-navigation@file:../..":
|
||||
version "1.0.0-beta.12"
|
||||
dependencies:
|
||||
babel-plugin-transform-define "^1.3.0"
|
||||
clamp "^1.0.1"
|
||||
hoist-non-react-statics "^2.2.0"
|
||||
path-to-regexp "^1.7.0"
|
||||
prop-types "^15.5.10"
|
||||
react-native-drawer-layout-polyfill "^1.3.2"
|
||||
react-native-tab-view "~0.0.67"
|
||||
react-native-tab-view "^0.0.69"
|
||||
|
||||
react-proxy@^1.1.7:
|
||||
version "1.1.8"
|
||||
@ -5147,7 +5161,7 @@ sax@~1.1.1:
|
||||
version "1.1.6"
|
||||
resolved "https://registry.yarnpkg.com/sax/-/sax-1.1.6.tgz#5d616be8a5e607d54e114afae55b7eaf2fcc3240"
|
||||
|
||||
"semver@2 || 3 || 4 || 5", semver@5.x, semver@^5.0.3, semver@^5.1.0, semver@^5.3.0:
|
||||
"semver@2 || 3 || 4 || 5", semver@5.x, semver@^5.0.1, semver@^5.0.3, semver@^5.1.0, semver@^5.3.0:
|
||||
version "5.4.1"
|
||||
resolved "https://registry.yarnpkg.com/semver/-/semver-5.4.1.tgz#e059c09d8571f0540823733433505d3a2f00b18e"
|
||||
|
||||
@ -5609,7 +5623,7 @@ throat@^3.0.0:
|
||||
version "3.2.0"
|
||||
resolved "https://registry.yarnpkg.com/throat/-/throat-3.2.0.tgz#50cb0670edbc40237b9e347d7e1f88e4620af836"
|
||||
|
||||
throat@^4.0.0:
|
||||
throat@^4.0.0, throat@^4.1.0:
|
||||
version "4.1.0"
|
||||
resolved "https://registry.yarnpkg.com/throat/-/throat-4.1.0.tgz#89037cbc92c56ab18926e6ba4cbb200e15672a6a"
|
||||
|
||||
@ -5687,6 +5701,10 @@ tr46@~0.0.3:
|
||||
version "0.0.3"
|
||||
resolved "https://registry.yarnpkg.com/tr46/-/tr46-0.0.3.tgz#8184fd347dac9cdc185992f3a6622e14b9d9ab6a"
|
||||
|
||||
traverse@0.6.6:
|
||||
version "0.6.6"
|
||||
resolved "https://registry.yarnpkg.com/traverse/-/traverse-0.6.6.tgz#cbdf560fd7b9af632502fed40f918c157ea97137"
|
||||
|
||||
tree-kill@^1.1.0:
|
||||
version "1.1.0"
|
||||
resolved "https://registry.yarnpkg.com/tree-kill/-/tree-kill-1.1.0.tgz#c963dcf03722892ec59cba569e940b71954d1729"
|
||||
@ -5931,7 +5949,7 @@ which-module@^1.0.0:
|
||||
version "1.0.0"
|
||||
resolved "https://registry.yarnpkg.com/which-module/-/which-module-1.0.0.tgz#bba63ca861948994ff307736089e3b96026c2a4f"
|
||||
|
||||
which@^1.2.12, which@^1.2.9:
|
||||
which@^1.2.12, which@^1.2.14, which@^1.2.9:
|
||||
version "1.3.0"
|
||||
resolved "https://registry.yarnpkg.com/which/-/which-1.3.0.tgz#ff04bdfc010ee547d780bec38e1ac1c2777d253a"
|
||||
dependencies:
|
||||
@ -5943,6 +5961,12 @@ wide-align@^1.1.0:
|
||||
dependencies:
|
||||
string-width "^1.0.2"
|
||||
|
||||
win-release@^1.0.0:
|
||||
version "1.1.1"
|
||||
resolved "https://registry.yarnpkg.com/win-release/-/win-release-1.1.1.tgz#5fa55e02be7ca934edfc12665632e849b72e5209"
|
||||
dependencies:
|
||||
semver "^5.0.1"
|
||||
|
||||
winchan@0.1.4:
|
||||
version "0.1.4"
|
||||
resolved "https://registry.yarnpkg.com/winchan/-/winchan-0.1.4.tgz#88fa12411cd542eb626018c38a196bcbb17993bb"
|
||||
|
@ -618,6 +618,13 @@ babel-plugin-transform-decorators-legacy@^1.3.4:
|
||||
babel-runtime "^6.2.0"
|
||||
babel-template "^6.3.0"
|
||||
|
||||
babel-plugin-transform-define@^1.3.0:
|
||||
version "1.3.0"
|
||||
resolved "https://registry.yarnpkg.com/babel-plugin-transform-define/-/babel-plugin-transform-define-1.3.0.tgz#94c5f9459c810c738cc7c50cbd44a31829d6f319"
|
||||
dependencies:
|
||||
lodash "4.17.4"
|
||||
traverse "0.6.6"
|
||||
|
||||
babel-plugin-transform-es2015-arrow-functions@^6.5.0, babel-plugin-transform-es2015-arrow-functions@^6.5.2, babel-plugin-transform-es2015-arrow-functions@^6.8.0:
|
||||
version "6.22.0"
|
||||
resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-arrow-functions/-/babel-plugin-transform-es2015-arrow-functions-6.22.0.tgz#452692cb711d5f79dc7f85e440ce41b9f244d221"
|
||||
@ -3698,14 +3705,14 @@ lodash.zipobject@^4.1.3:
|
||||
version "4.1.3"
|
||||
resolved "https://registry.yarnpkg.com/lodash.zipobject/-/lodash.zipobject-4.1.3.tgz#b399f5aba8ff62a746f6979bf20b214f964dbef8"
|
||||
|
||||
lodash@4.17.4, lodash@^4.0.0, lodash@^4.14.0, lodash@^4.14.1, lodash@^4.16.6, lodash@^4.17.4, lodash@^4.2.0, lodash@^4.2.1, lodash@^4.3.0, lodash@^4.6.1:
|
||||
version "4.17.4"
|
||||
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.4.tgz#78203a4d1c328ae1d86dca6460e369b57f4055ae"
|
||||
|
||||
lodash@^3.5.0:
|
||||
version "3.10.1"
|
||||
resolved "https://registry.yarnpkg.com/lodash/-/lodash-3.10.1.tgz#5bf45e8e49ba4189e17d482789dfd15bd140b7b6"
|
||||
|
||||
lodash@^4.0.0, lodash@^4.14.0, lodash@^4.14.1, lodash@^4.16.6, lodash@^4.17.4, lodash@^4.2.0, lodash@^4.2.1, lodash@^4.3.0, lodash@^4.6.1:
|
||||
version "4.17.4"
|
||||
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.4.tgz#78203a4d1c328ae1d86dca6460e369b57f4055ae"
|
||||
|
||||
longest@^1.0.1:
|
||||
version "1.0.1"
|
||||
resolved "https://registry.yarnpkg.com/longest/-/longest-1.0.1.tgz#30a0b2da38f73770e8294a0d22e6625ed77d0097"
|
||||
@ -4665,7 +4672,7 @@ react-native-svg@5.3.0:
|
||||
color "^0.11.1"
|
||||
lodash "^4.16.6"
|
||||
|
||||
react-native-tab-view@~0.0.67:
|
||||
react-native-tab-view@^0.0.69:
|
||||
version "0.0.69"
|
||||
resolved "https://registry.yarnpkg.com/react-native-tab-view/-/react-native-tab-view-0.0.69.tgz#f52d4354a98a382f10eb5fcf61db5216c91dc7e7"
|
||||
dependencies:
|
||||
@ -4769,12 +4776,13 @@ react-native@~0.47.2:
|
||||
"react-navigation@file:../..":
|
||||
version "1.0.0-beta.12"
|
||||
dependencies:
|
||||
babel-plugin-transform-define "^1.3.0"
|
||||
clamp "^1.0.1"
|
||||
hoist-non-react-statics "^2.2.0"
|
||||
path-to-regexp "^1.7.0"
|
||||
prop-types "^15.5.10"
|
||||
react-native-drawer-layout-polyfill "^1.3.2"
|
||||
react-native-tab-view "~0.0.67"
|
||||
react-native-tab-view "^0.0.69"
|
||||
|
||||
react-proxy@^1.1.7:
|
||||
version "1.1.8"
|
||||
@ -5676,6 +5684,10 @@ tr46@~0.0.3:
|
||||
version "0.0.3"
|
||||
resolved "https://registry.yarnpkg.com/tr46/-/tr46-0.0.3.tgz#8184fd347dac9cdc185992f3a6622e14b9d9ab6a"
|
||||
|
||||
traverse@0.6.6:
|
||||
version "0.6.6"
|
||||
resolved "https://registry.yarnpkg.com/traverse/-/traverse-0.6.6.tgz#cbdf560fd7b9af632502fed40f918c157ea97137"
|
||||
|
||||
tree-kill@^1.1.0:
|
||||
version "1.1.0"
|
||||
resolved "https://registry.yarnpkg.com/tree-kill/-/tree-kill-1.1.0.tgz#c963dcf03722892ec59cba569e940b71954d1729"
|
||||
@ -5885,7 +5897,7 @@ webidl-conversions@^4.0.0:
|
||||
version "4.0.2"
|
||||
resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-4.0.2.tgz#a855980b1f0b6b359ba1d5d9fb39ae941faa63ad"
|
||||
|
||||
"websql@github:expo/node-websql#18.0.0":
|
||||
websql@expo/node-websql#18.0.0:
|
||||
version "0.4.4"
|
||||
resolved "https://codeload.github.com/expo/node-websql/tar.gz/e364fa65146a9e2157a19e5c719e7702c2b6b87a"
|
||||
dependencies:
|
||||
|
4
flow-typed/npm/babel-cli_vx.x.x.js
vendored
4
flow-typed/npm/babel-cli_vx.x.x.js
vendored
@ -1,5 +1,5 @@
|
||||
// flow-typed signature: 50cccc4d25daa131ce5273d84f010572
|
||||
// flow-typed version: <<STUB>>/babel-cli_v^6.24.1/flow_v0.49.1
|
||||
// flow-typed signature: ebb2dc802b3f17d89ea3e6e93c7abcab
|
||||
// flow-typed version: <<STUB>>/babel-cli_v^6.24.1/flow_v0.51.0
|
||||
|
||||
/**
|
||||
* This is an autogenerated libdef stub for:
|
||||
|
4
flow-typed/npm/babel-core_vx.x.x.js
vendored
4
flow-typed/npm/babel-core_vx.x.x.js
vendored
@ -1,5 +1,5 @@
|
||||
// flow-typed signature: b44c78d7279f78b485d76b15c08cd683
|
||||
// flow-typed version: <<STUB>>/babel-core_v^6.24.1/flow_v0.49.1
|
||||
// flow-typed signature: 6e30dcfd3aebee9a63401dfe77e6ab4c
|
||||
// flow-typed version: <<STUB>>/babel-core_v^6.25.0/flow_v0.51.0
|
||||
|
||||
/**
|
||||
* This is an autogenerated libdef stub for:
|
||||
|
4
flow-typed/npm/babel-eslint_vx.x.x.js
vendored
4
flow-typed/npm/babel-eslint_vx.x.x.js
vendored
@ -1,5 +1,5 @@
|
||||
// flow-typed signature: 1bf74b25fb82cd002e8b966a31086e1a
|
||||
// flow-typed version: <<STUB>>/babel-eslint_v^7.2.3/flow_v0.49.1
|
||||
// flow-typed signature: 3df381be6db1c72482a9a1ec476a886b
|
||||
// flow-typed version: <<STUB>>/babel-eslint_v^7.2.3/flow_v0.51.0
|
||||
|
||||
/**
|
||||
* This is an autogenerated libdef stub for:
|
||||
|
4
flow-typed/npm/babel-jest_vx.x.x.js
vendored
4
flow-typed/npm/babel-jest_vx.x.x.js
vendored
@ -1,5 +1,5 @@
|
||||
// flow-typed signature: 02359da7064195804e62c853de1fc44e
|
||||
// flow-typed version: <<STUB>>/babel-jest_v^20.0.1/flow_v0.49.1
|
||||
// flow-typed signature: e3972eedd4181bb1001af84de2212736
|
||||
// flow-typed version: <<STUB>>/babel-jest_v^20.0.3/flow_v0.51.0
|
||||
|
||||
/**
|
||||
* This is an autogenerated libdef stub for:
|
||||
|
179
flow-typed/npm/babel-plugin-transform-define_vx.x.x.js
vendored
Normal file
179
flow-typed/npm/babel-plugin-transform-define_vx.x.x.js
vendored
Normal file
@ -0,0 +1,179 @@
|
||||
// flow-typed signature: 178f6fedd6484c412deb36d2fc51b480
|
||||
// flow-typed version: <<STUB>>/babel-plugin-transform-define_v^1.3.0/flow_v0.51.0
|
||||
|
||||
/**
|
||||
* This is an autogenerated libdef stub for:
|
||||
*
|
||||
* 'babel-plugin-transform-define'
|
||||
*
|
||||
* Fill this stub out by replacing all the `any` types.
|
||||
*
|
||||
* Once filled out, we encourage you to share your work with the
|
||||
* community by sending a pull request to:
|
||||
* https://github.com/flowtype/flow-typed
|
||||
*/
|
||||
|
||||
declare module 'babel-plugin-transform-define' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
/**
|
||||
* We include stubs for each file inside this npm package in case you need to
|
||||
* require those files directly. Feel free to delete any files that aren't
|
||||
* needed.
|
||||
*/
|
||||
declare module 'babel-plugin-transform-define/lib/index' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'babel-plugin-transform-define/src/index' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'babel-plugin-transform-define/test/0/actual' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'babel-plugin-transform-define/test/0/expected' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'babel-plugin-transform-define/test/emptyString/actual' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'babel-plugin-transform-define/test/emptyString/expected' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'babel-plugin-transform-define/test/false/actual' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'babel-plugin-transform-define/test/false/expected' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'babel-plugin-transform-define/test/identifier/actual' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'babel-plugin-transform-define/test/identifier/expected' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'babel-plugin-transform-define/test/index' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'babel-plugin-transform-define/test/load-config-file/actual' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'babel-plugin-transform-define/test/load-config-file/config' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'babel-plugin-transform-define/test/load-config-file/expected' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'babel-plugin-transform-define/test/member-expression/actual' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'babel-plugin-transform-define/test/member-expression/expected' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'babel-plugin-transform-define/test/null/actual' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'babel-plugin-transform-define/test/null/expected' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'babel-plugin-transform-define/test/unary-expression/actual' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'babel-plugin-transform-define/test/unary-expression/expected' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'babel-plugin-transform-define/test/undefined/actual' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'babel-plugin-transform-define/test/undefined/expected' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
// Filename aliases
|
||||
declare module 'babel-plugin-transform-define/lib/index.js' {
|
||||
declare module.exports: $Exports<'babel-plugin-transform-define/lib/index'>;
|
||||
}
|
||||
declare module 'babel-plugin-transform-define/src/index.js' {
|
||||
declare module.exports: $Exports<'babel-plugin-transform-define/src/index'>;
|
||||
}
|
||||
declare module 'babel-plugin-transform-define/test/0/actual.js' {
|
||||
declare module.exports: $Exports<'babel-plugin-transform-define/test/0/actual'>;
|
||||
}
|
||||
declare module 'babel-plugin-transform-define/test/0/expected.js' {
|
||||
declare module.exports: $Exports<'babel-plugin-transform-define/test/0/expected'>;
|
||||
}
|
||||
declare module 'babel-plugin-transform-define/test/emptyString/actual.js' {
|
||||
declare module.exports: $Exports<'babel-plugin-transform-define/test/emptyString/actual'>;
|
||||
}
|
||||
declare module 'babel-plugin-transform-define/test/emptyString/expected.js' {
|
||||
declare module.exports: $Exports<'babel-plugin-transform-define/test/emptyString/expected'>;
|
||||
}
|
||||
declare module 'babel-plugin-transform-define/test/false/actual.js' {
|
||||
declare module.exports: $Exports<'babel-plugin-transform-define/test/false/actual'>;
|
||||
}
|
||||
declare module 'babel-plugin-transform-define/test/false/expected.js' {
|
||||
declare module.exports: $Exports<'babel-plugin-transform-define/test/false/expected'>;
|
||||
}
|
||||
declare module 'babel-plugin-transform-define/test/identifier/actual.js' {
|
||||
declare module.exports: $Exports<'babel-plugin-transform-define/test/identifier/actual'>;
|
||||
}
|
||||
declare module 'babel-plugin-transform-define/test/identifier/expected.js' {
|
||||
declare module.exports: $Exports<'babel-plugin-transform-define/test/identifier/expected'>;
|
||||
}
|
||||
declare module 'babel-plugin-transform-define/test/index.js' {
|
||||
declare module.exports: $Exports<'babel-plugin-transform-define/test/index'>;
|
||||
}
|
||||
declare module 'babel-plugin-transform-define/test/load-config-file/actual.js' {
|
||||
declare module.exports: $Exports<'babel-plugin-transform-define/test/load-config-file/actual'>;
|
||||
}
|
||||
declare module 'babel-plugin-transform-define/test/load-config-file/config.js' {
|
||||
declare module.exports: $Exports<'babel-plugin-transform-define/test/load-config-file/config'>;
|
||||
}
|
||||
declare module 'babel-plugin-transform-define/test/load-config-file/expected.js' {
|
||||
declare module.exports: $Exports<'babel-plugin-transform-define/test/load-config-file/expected'>;
|
||||
}
|
||||
declare module 'babel-plugin-transform-define/test/member-expression/actual.js' {
|
||||
declare module.exports: $Exports<'babel-plugin-transform-define/test/member-expression/actual'>;
|
||||
}
|
||||
declare module 'babel-plugin-transform-define/test/member-expression/expected.js' {
|
||||
declare module.exports: $Exports<'babel-plugin-transform-define/test/member-expression/expected'>;
|
||||
}
|
||||
declare module 'babel-plugin-transform-define/test/null/actual.js' {
|
||||
declare module.exports: $Exports<'babel-plugin-transform-define/test/null/actual'>;
|
||||
}
|
||||
declare module 'babel-plugin-transform-define/test/null/expected.js' {
|
||||
declare module.exports: $Exports<'babel-plugin-transform-define/test/null/expected'>;
|
||||
}
|
||||
declare module 'babel-plugin-transform-define/test/unary-expression/actual.js' {
|
||||
declare module.exports: $Exports<'babel-plugin-transform-define/test/unary-expression/actual'>;
|
||||
}
|
||||
declare module 'babel-plugin-transform-define/test/unary-expression/expected.js' {
|
||||
declare module.exports: $Exports<'babel-plugin-transform-define/test/unary-expression/expected'>;
|
||||
}
|
||||
declare module 'babel-plugin-transform-define/test/undefined/actual.js' {
|
||||
declare module.exports: $Exports<'babel-plugin-transform-define/test/undefined/actual'>;
|
||||
}
|
||||
declare module 'babel-plugin-transform-define/test/undefined/expected.js' {
|
||||
declare module.exports: $Exports<'babel-plugin-transform-define/test/undefined/expected'>;
|
||||
}
|
4
flow-typed/npm/babel-preset-es2015_vx.x.x.js
vendored
4
flow-typed/npm/babel-preset-es2015_vx.x.x.js
vendored
@ -1,5 +1,5 @@
|
||||
// flow-typed signature: 245300d27bbcd9eed2c688a7d1073392
|
||||
// flow-typed version: <<STUB>>/babel-preset-es2015_v^6.24.1/flow_v0.49.1
|
||||
// flow-typed signature: b565f8696c0ef8724cae3e0af43df89f
|
||||
// flow-typed version: <<STUB>>/babel-preset-es2015_v^6.24.1/flow_v0.51.0
|
||||
|
||||
/**
|
||||
* This is an autogenerated libdef stub for:
|
||||
|
@ -1,5 +1,5 @@
|
||||
// flow-typed signature: 85f35727e0cc7a372bd958ff80f08110
|
||||
// flow-typed version: <<STUB>>/babel-preset-react-native-stage-0_v^1.0.1/flow_v0.49.1
|
||||
// flow-typed signature: 75331221a2b438061f6290972bed3edb
|
||||
// flow-typed version: <<STUB>>/babel-preset-react-native-stage-0_v^1.0.1/flow_v0.51.0
|
||||
|
||||
/**
|
||||
* This is an autogenerated libdef stub for:
|
||||
|
@ -1,5 +1,5 @@
|
||||
// flow-typed signature: ad52b8fa9995651201720389a0746966
|
||||
// flow-typed version: <<STUB>>/babel-preset-react-native-syntax_v^1.0.0/flow_v0.49.1
|
||||
// flow-typed signature: 57c87eb1fb3b55786881f12b604fa66a
|
||||
// flow-typed version: <<STUB>>/babel-preset-react-native-syntax_v^1.0.0/flow_v0.51.0
|
||||
|
||||
/**
|
||||
* This is an autogenerated libdef stub for:
|
||||
|
@ -1,5 +1,5 @@
|
||||
// flow-typed signature: b132a45b70b401796d625d8180574c91
|
||||
// flow-typed version: <<STUB>>/babel-preset-react-native_v^1.9.2/flow_v0.49.1
|
||||
// flow-typed signature: 1ee1a81515728c2b3deee2529d4f5f46
|
||||
// flow-typed version: <<STUB>>/babel-preset-react-native_v^2.1.0/flow_v0.51.0
|
||||
|
||||
/**
|
||||
* This is an autogenerated libdef stub for:
|
||||
@ -42,6 +42,10 @@ declare module 'babel-preset-react-native/plugins' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'babel-preset-react-native/transforms/transform-regenerator-runtime-insertion' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'babel-preset-react-native/transforms/transform-symbol-member' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
@ -68,6 +72,9 @@ declare module 'babel-preset-react-native/lib/resolvePlugins.js' {
|
||||
declare module 'babel-preset-react-native/plugins.js' {
|
||||
declare module.exports: $Exports<'babel-preset-react-native/plugins'>;
|
||||
}
|
||||
declare module 'babel-preset-react-native/transforms/transform-regenerator-runtime-insertion.js' {
|
||||
declare module.exports: $Exports<'babel-preset-react-native/transforms/transform-regenerator-runtime-insertion'>;
|
||||
}
|
||||
declare module 'babel-preset-react-native/transforms/transform-symbol-member.js' {
|
||||
declare module.exports: $Exports<'babel-preset-react-native/transforms/transform-symbol-member'>;
|
||||
}
|
||||
|
4
flow-typed/npm/babel-preset-react_vx.x.x.js
vendored
4
flow-typed/npm/babel-preset-react_vx.x.x.js
vendored
@ -1,5 +1,5 @@
|
||||
// flow-typed signature: 56127a0e27b24bbabb45b01aa4c6768a
|
||||
// flow-typed version: <<STUB>>/babel-preset-react_v^6.24.1/flow_v0.49.1
|
||||
// flow-typed signature: d4e60d73a0307350eb745d441f32a711
|
||||
// flow-typed version: <<STUB>>/babel-preset-react_v^6.24.1/flow_v0.51.0
|
||||
|
||||
/**
|
||||
* This is an autogenerated libdef stub for:
|
||||
|
@ -1,5 +1,5 @@
|
||||
// flow-typed signature: 76ca3ede38f503bec8f3b45f45389773
|
||||
// flow-typed version: <<STUB>>/babel-preset-stage-1_v^6.24.1/flow_v0.49.1
|
||||
// flow-typed signature: 535d4d7f9913de1766467c8d1ad73061
|
||||
// flow-typed version: <<STUB>>/babel-preset-stage-1_v^6.24.1/flow_v0.51.0
|
||||
|
||||
/**
|
||||
* This is an autogenerated libdef stub for:
|
||||
|
4
flow-typed/npm/clamp_vx.x.x.js
vendored
4
flow-typed/npm/clamp_vx.x.x.js
vendored
@ -1,5 +1,5 @@
|
||||
// flow-typed signature: 8133090576c61cecf16348212e5ebd02
|
||||
// flow-typed version: <<STUB>>/clamp_v^1.0.1/flow_v0.49.1
|
||||
// flow-typed signature: 18f129114a0c79d2a0a6e3ac489248d9
|
||||
// flow-typed version: <<STUB>>/clamp_v^1.0.1/flow_v0.51.0
|
||||
|
||||
/**
|
||||
* This is an autogenerated libdef stub for:
|
||||
|
4
flow-typed/npm/codecov_vx.x.x.js
vendored
4
flow-typed/npm/codecov_vx.x.x.js
vendored
@ -1,5 +1,5 @@
|
||||
// flow-typed signature: ad1840bbbf16a47effbbfa3f63f45a8d
|
||||
// flow-typed version: <<STUB>>/codecov_v^2.2.0/flow_v0.49.1
|
||||
// flow-typed signature: d484c74248f66d84a575e69f09d5f2b7
|
||||
// flow-typed version: <<STUB>>/codecov_v^2.2.0/flow_v0.51.0
|
||||
|
||||
/**
|
||||
* This is an autogenerated libdef stub for:
|
||||
|
@ -1,5 +1,5 @@
|
||||
// flow-typed signature: 044aa455e3cc503e87e65ea25f1bcdb3
|
||||
// flow-typed version: <<STUB>>/eslint-config-prettier_v^2.1.0/flow_v0.49.1
|
||||
// flow-typed signature: b79def5c90aaafa63b6560804fdc80b5
|
||||
// flow-typed version: <<STUB>>/eslint-config-prettier_v^2.3.0/flow_v0.51.0
|
||||
|
||||
/**
|
||||
* This is an autogenerated libdef stub for:
|
||||
|
@ -1,5 +1,5 @@
|
||||
// flow-typed signature: 90f17f28057c2d62823bc86eb02fdca6
|
||||
// flow-typed version: <<STUB>>/eslint-plugin-flowtype_v^2.33.0/flow_v0.49.1
|
||||
// flow-typed signature: 82f7f386a3b74932e476dba0641a83bf
|
||||
// flow-typed version: <<STUB>>/eslint-plugin-flowtype_v^2.35.0/flow_v0.51.0
|
||||
|
||||
/**
|
||||
* This is an autogenerated libdef stub for:
|
||||
|
11
flow-typed/npm/eslint-plugin-import_vx.x.x.js
vendored
11
flow-typed/npm/eslint-plugin-import_vx.x.x.js
vendored
@ -1,5 +1,5 @@
|
||||
// flow-typed signature: 648dd21b73dc794cbba83495010df3a7
|
||||
// flow-typed version: <<STUB>>/eslint-plugin-import_v^2.2.0/flow_v0.49.1
|
||||
// flow-typed signature: 4ea0ace5576440cc99923f5efa67b4e3
|
||||
// flow-typed version: <<STUB>>/eslint-plugin-import_v^2.7.0/flow_v0.51.0
|
||||
|
||||
/**
|
||||
* This is an autogenerated libdef stub for:
|
||||
@ -114,6 +114,10 @@ declare module 'eslint-plugin-import/lib/rules/no-amd' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-import/lib/rules/no-anonymous-default-export' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-import/lib/rules/no-commonjs' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
@ -264,6 +268,9 @@ declare module 'eslint-plugin-import/lib/rules/no-absolute-path.js' {
|
||||
declare module 'eslint-plugin-import/lib/rules/no-amd.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-import/lib/rules/no-amd'>;
|
||||
}
|
||||
declare module 'eslint-plugin-import/lib/rules/no-anonymous-default-export.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-import/lib/rules/no-anonymous-default-export'>;
|
||||
}
|
||||
declare module 'eslint-plugin-import/lib/rules/no-commonjs.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-import/lib/rules/no-commonjs'>;
|
||||
}
|
||||
|
627
flow-typed/npm/eslint-plugin-jsx-a11y_vx.x.x.js
vendored
627
flow-typed/npm/eslint-plugin-jsx-a11y_vx.x.x.js
vendored
@ -1,5 +1,5 @@
|
||||
// flow-typed signature: cd96c828c0f93d6e79866822effacff7
|
||||
// flow-typed version: <<STUB>>/eslint-plugin-jsx-a11y_v^5.0.1/flow_v0.49.1
|
||||
// flow-typed signature: 9557f2195b95aea9e9642793c6b21c5a
|
||||
// flow-typed version: <<STUB>>/eslint-plugin-jsx-a11y_v^6.0.2/flow_v0.51.0
|
||||
|
||||
/**
|
||||
* This is an autogenerated libdef stub for:
|
||||
@ -66,6 +66,10 @@ declare module 'eslint-plugin-jsx-a11y/__tests__/src/rules/anchor-has-content-te
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-jsx-a11y/__tests__/src/rules/anchor-is-valid-test' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-jsx-a11y/__tests__/src/rules/aria-activedescendant-has-tabindex-test' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
@ -94,10 +98,6 @@ declare module 'eslint-plugin-jsx-a11y/__tests__/src/rules/heading-has-content-t
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-jsx-a11y/__tests__/src/rules/href-no-hash-test' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-jsx-a11y/__tests__/src/rules/html-has-lang-test' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
@ -246,6 +246,10 @@ declare module 'eslint-plugin-jsx-a11y/lib/rules/anchor-has-content' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-jsx-a11y/lib/rules/anchor-is-valid' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-jsx-a11y/lib/rules/aria-activedescendant-has-tabindex' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
@ -274,10 +278,6 @@ declare module 'eslint-plugin-jsx-a11y/lib/rules/heading-has-content' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-jsx-a11y/lib/rules/href-no-hash' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-jsx-a11y/lib/rules/html-has-lang' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
@ -590,346 +590,6 @@ declare module 'eslint-plugin-jsx-a11y/scripts/create-rule' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-jsx-a11y/src/index' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-jsx-a11y/src/rules/accessible-emoji' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-jsx-a11y/src/rules/alt-text' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-jsx-a11y/src/rules/anchor-has-content' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-jsx-a11y/src/rules/aria-activedescendant-has-tabindex' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-jsx-a11y/src/rules/aria-props' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-jsx-a11y/src/rules/aria-proptypes' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-jsx-a11y/src/rules/aria-role' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-jsx-a11y/src/rules/aria-unsupported-elements' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-jsx-a11y/src/rules/click-events-have-key-events' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-jsx-a11y/src/rules/heading-has-content' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-jsx-a11y/src/rules/href-no-hash' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-jsx-a11y/src/rules/html-has-lang' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-jsx-a11y/src/rules/iframe-has-title' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-jsx-a11y/src/rules/img-redundant-alt' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-jsx-a11y/src/rules/interactive-supports-focus' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-jsx-a11y/src/rules/label-has-for' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-jsx-a11y/src/rules/lang' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-jsx-a11y/src/rules/media-has-caption' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-jsx-a11y/src/rules/mouse-events-have-key-events' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-jsx-a11y/src/rules/no-access-key' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-jsx-a11y/src/rules/no-autofocus' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-jsx-a11y/src/rules/no-distracting-elements' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-jsx-a11y/src/rules/no-interactive-element-to-noninteractive-role' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-jsx-a11y/src/rules/no-noninteractive-element-interactions' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-jsx-a11y/src/rules/no-noninteractive-element-to-interactive-role' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-jsx-a11y/src/rules/no-noninteractive-tabindex' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-jsx-a11y/src/rules/no-onchange' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-jsx-a11y/src/rules/no-redundant-roles' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-jsx-a11y/src/rules/no-static-element-interactions' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-jsx-a11y/src/rules/role-has-required-aria-props' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-jsx-a11y/src/rules/role-supports-aria-props' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-jsx-a11y/src/rules/scope' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-jsx-a11y/src/rules/tabindex-no-positive' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/attributesComparator' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/getImplicitRole' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/getSuggestion' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/getTabIndex' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/hasAccessibleChild' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/implicitRoles/a' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/implicitRoles/area' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/implicitRoles/article' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/implicitRoles/aside' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/implicitRoles/body' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/implicitRoles/button' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/implicitRoles/datalist' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/implicitRoles/details' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/implicitRoles/dialog' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/implicitRoles/dl' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/implicitRoles/form' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/implicitRoles/h1' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/implicitRoles/h2' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/implicitRoles/h3' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/implicitRoles/h4' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/implicitRoles/h5' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/implicitRoles/h6' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/implicitRoles/hr' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/implicitRoles/img' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/implicitRoles/index' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/implicitRoles/input' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/implicitRoles/li' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/implicitRoles/link' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/implicitRoles/menu' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/implicitRoles/menuitem' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/implicitRoles/meter' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/implicitRoles/nav' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/implicitRoles/ol' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/implicitRoles/option' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/implicitRoles/output' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/implicitRoles/progress' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/implicitRoles/section' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/implicitRoles/select' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/implicitRoles/tbody' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/implicitRoles/textarea' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/implicitRoles/tfoot' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/implicitRoles/thead' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/implicitRoles/ul' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/isAbstractRole' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/isHiddenFromScreenReader' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/isInteractiveElement' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/isInteractiveRole' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/isNonInteractiveElement' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/isNonInteractiveRole' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/isPresentationRole' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/schemas' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
// Filename aliases
|
||||
declare module 'eslint-plugin-jsx-a11y/__mocks__/genInteractives.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/__mocks__/genInteractives'>;
|
||||
@ -964,6 +624,9 @@ declare module 'eslint-plugin-jsx-a11y/__tests__/src/rules/alt-text-test.js' {
|
||||
declare module 'eslint-plugin-jsx-a11y/__tests__/src/rules/anchor-has-content-test.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/__tests__/src/rules/anchor-has-content-test'>;
|
||||
}
|
||||
declare module 'eslint-plugin-jsx-a11y/__tests__/src/rules/anchor-is-valid-test.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/__tests__/src/rules/anchor-is-valid-test'>;
|
||||
}
|
||||
declare module 'eslint-plugin-jsx-a11y/__tests__/src/rules/aria-activedescendant-has-tabindex-test.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/__tests__/src/rules/aria-activedescendant-has-tabindex-test'>;
|
||||
}
|
||||
@ -985,9 +648,6 @@ declare module 'eslint-plugin-jsx-a11y/__tests__/src/rules/click-events-have-key
|
||||
declare module 'eslint-plugin-jsx-a11y/__tests__/src/rules/heading-has-content-test.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/__tests__/src/rules/heading-has-content-test'>;
|
||||
}
|
||||
declare module 'eslint-plugin-jsx-a11y/__tests__/src/rules/href-no-hash-test.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/__tests__/src/rules/href-no-hash-test'>;
|
||||
}
|
||||
declare module 'eslint-plugin-jsx-a11y/__tests__/src/rules/html-has-lang-test.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/__tests__/src/rules/html-has-lang-test'>;
|
||||
}
|
||||
@ -1099,6 +759,9 @@ declare module 'eslint-plugin-jsx-a11y/lib/rules/alt-text.js' {
|
||||
declare module 'eslint-plugin-jsx-a11y/lib/rules/anchor-has-content.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/lib/rules/anchor-has-content'>;
|
||||
}
|
||||
declare module 'eslint-plugin-jsx-a11y/lib/rules/anchor-is-valid.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/lib/rules/anchor-is-valid'>;
|
||||
}
|
||||
declare module 'eslint-plugin-jsx-a11y/lib/rules/aria-activedescendant-has-tabindex.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/lib/rules/aria-activedescendant-has-tabindex'>;
|
||||
}
|
||||
@ -1120,9 +783,6 @@ declare module 'eslint-plugin-jsx-a11y/lib/rules/click-events-have-key-events.js
|
||||
declare module 'eslint-plugin-jsx-a11y/lib/rules/heading-has-content.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/lib/rules/heading-has-content'>;
|
||||
}
|
||||
declare module 'eslint-plugin-jsx-a11y/lib/rules/href-no-hash.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/lib/rules/href-no-hash'>;
|
||||
}
|
||||
declare module 'eslint-plugin-jsx-a11y/lib/rules/html-has-lang.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/lib/rules/html-has-lang'>;
|
||||
}
|
||||
@ -1357,258 +1017,3 @@ declare module 'eslint-plugin-jsx-a11y/scripts/boilerplate/test.js' {
|
||||
declare module 'eslint-plugin-jsx-a11y/scripts/create-rule.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/scripts/create-rule'>;
|
||||
}
|
||||
declare module 'eslint-plugin-jsx-a11y/src/index.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/src/index'>;
|
||||
}
|
||||
declare module 'eslint-plugin-jsx-a11y/src/rules/accessible-emoji.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/src/rules/accessible-emoji'>;
|
||||
}
|
||||
declare module 'eslint-plugin-jsx-a11y/src/rules/alt-text.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/src/rules/alt-text'>;
|
||||
}
|
||||
declare module 'eslint-plugin-jsx-a11y/src/rules/anchor-has-content.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/src/rules/anchor-has-content'>;
|
||||
}
|
||||
declare module 'eslint-plugin-jsx-a11y/src/rules/aria-activedescendant-has-tabindex.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/src/rules/aria-activedescendant-has-tabindex'>;
|
||||
}
|
||||
declare module 'eslint-plugin-jsx-a11y/src/rules/aria-props.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/src/rules/aria-props'>;
|
||||
}
|
||||
declare module 'eslint-plugin-jsx-a11y/src/rules/aria-proptypes.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/src/rules/aria-proptypes'>;
|
||||
}
|
||||
declare module 'eslint-plugin-jsx-a11y/src/rules/aria-role.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/src/rules/aria-role'>;
|
||||
}
|
||||
declare module 'eslint-plugin-jsx-a11y/src/rules/aria-unsupported-elements.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/src/rules/aria-unsupported-elements'>;
|
||||
}
|
||||
declare module 'eslint-plugin-jsx-a11y/src/rules/click-events-have-key-events.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/src/rules/click-events-have-key-events'>;
|
||||
}
|
||||
declare module 'eslint-plugin-jsx-a11y/src/rules/heading-has-content.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/src/rules/heading-has-content'>;
|
||||
}
|
||||
declare module 'eslint-plugin-jsx-a11y/src/rules/href-no-hash.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/src/rules/href-no-hash'>;
|
||||
}
|
||||
declare module 'eslint-plugin-jsx-a11y/src/rules/html-has-lang.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/src/rules/html-has-lang'>;
|
||||
}
|
||||
declare module 'eslint-plugin-jsx-a11y/src/rules/iframe-has-title.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/src/rules/iframe-has-title'>;
|
||||
}
|
||||
declare module 'eslint-plugin-jsx-a11y/src/rules/img-redundant-alt.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/src/rules/img-redundant-alt'>;
|
||||
}
|
||||
declare module 'eslint-plugin-jsx-a11y/src/rules/interactive-supports-focus.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/src/rules/interactive-supports-focus'>;
|
||||
}
|
||||
declare module 'eslint-plugin-jsx-a11y/src/rules/label-has-for.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/src/rules/label-has-for'>;
|
||||
}
|
||||
declare module 'eslint-plugin-jsx-a11y/src/rules/lang.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/src/rules/lang'>;
|
||||
}
|
||||
declare module 'eslint-plugin-jsx-a11y/src/rules/media-has-caption.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/src/rules/media-has-caption'>;
|
||||
}
|
||||
declare module 'eslint-plugin-jsx-a11y/src/rules/mouse-events-have-key-events.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/src/rules/mouse-events-have-key-events'>;
|
||||
}
|
||||
declare module 'eslint-plugin-jsx-a11y/src/rules/no-access-key.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/src/rules/no-access-key'>;
|
||||
}
|
||||
declare module 'eslint-plugin-jsx-a11y/src/rules/no-autofocus.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/src/rules/no-autofocus'>;
|
||||
}
|
||||
declare module 'eslint-plugin-jsx-a11y/src/rules/no-distracting-elements.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/src/rules/no-distracting-elements'>;
|
||||
}
|
||||
declare module 'eslint-plugin-jsx-a11y/src/rules/no-interactive-element-to-noninteractive-role.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/src/rules/no-interactive-element-to-noninteractive-role'>;
|
||||
}
|
||||
declare module 'eslint-plugin-jsx-a11y/src/rules/no-noninteractive-element-interactions.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/src/rules/no-noninteractive-element-interactions'>;
|
||||
}
|
||||
declare module 'eslint-plugin-jsx-a11y/src/rules/no-noninteractive-element-to-interactive-role.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/src/rules/no-noninteractive-element-to-interactive-role'>;
|
||||
}
|
||||
declare module 'eslint-plugin-jsx-a11y/src/rules/no-noninteractive-tabindex.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/src/rules/no-noninteractive-tabindex'>;
|
||||
}
|
||||
declare module 'eslint-plugin-jsx-a11y/src/rules/no-onchange.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/src/rules/no-onchange'>;
|
||||
}
|
||||
declare module 'eslint-plugin-jsx-a11y/src/rules/no-redundant-roles.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/src/rules/no-redundant-roles'>;
|
||||
}
|
||||
declare module 'eslint-plugin-jsx-a11y/src/rules/no-static-element-interactions.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/src/rules/no-static-element-interactions'>;
|
||||
}
|
||||
declare module 'eslint-plugin-jsx-a11y/src/rules/role-has-required-aria-props.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/src/rules/role-has-required-aria-props'>;
|
||||
}
|
||||
declare module 'eslint-plugin-jsx-a11y/src/rules/role-supports-aria-props.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/src/rules/role-supports-aria-props'>;
|
||||
}
|
||||
declare module 'eslint-plugin-jsx-a11y/src/rules/scope.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/src/rules/scope'>;
|
||||
}
|
||||
declare module 'eslint-plugin-jsx-a11y/src/rules/tabindex-no-positive.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/src/rules/tabindex-no-positive'>;
|
||||
}
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/attributesComparator.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/src/util/attributesComparator'>;
|
||||
}
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/getImplicitRole.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/src/util/getImplicitRole'>;
|
||||
}
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/getSuggestion.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/src/util/getSuggestion'>;
|
||||
}
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/getTabIndex.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/src/util/getTabIndex'>;
|
||||
}
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/hasAccessibleChild.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/src/util/hasAccessibleChild'>;
|
||||
}
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/implicitRoles/a.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/src/util/implicitRoles/a'>;
|
||||
}
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/implicitRoles/area.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/src/util/implicitRoles/area'>;
|
||||
}
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/implicitRoles/article.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/src/util/implicitRoles/article'>;
|
||||
}
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/implicitRoles/aside.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/src/util/implicitRoles/aside'>;
|
||||
}
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/implicitRoles/body.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/src/util/implicitRoles/body'>;
|
||||
}
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/implicitRoles/button.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/src/util/implicitRoles/button'>;
|
||||
}
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/implicitRoles/datalist.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/src/util/implicitRoles/datalist'>;
|
||||
}
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/implicitRoles/details.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/src/util/implicitRoles/details'>;
|
||||
}
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/implicitRoles/dialog.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/src/util/implicitRoles/dialog'>;
|
||||
}
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/implicitRoles/dl.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/src/util/implicitRoles/dl'>;
|
||||
}
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/implicitRoles/form.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/src/util/implicitRoles/form'>;
|
||||
}
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/implicitRoles/h1.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/src/util/implicitRoles/h1'>;
|
||||
}
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/implicitRoles/h2.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/src/util/implicitRoles/h2'>;
|
||||
}
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/implicitRoles/h3.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/src/util/implicitRoles/h3'>;
|
||||
}
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/implicitRoles/h4.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/src/util/implicitRoles/h4'>;
|
||||
}
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/implicitRoles/h5.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/src/util/implicitRoles/h5'>;
|
||||
}
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/implicitRoles/h6.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/src/util/implicitRoles/h6'>;
|
||||
}
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/implicitRoles/hr.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/src/util/implicitRoles/hr'>;
|
||||
}
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/implicitRoles/img.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/src/util/implicitRoles/img'>;
|
||||
}
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/implicitRoles/index.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/src/util/implicitRoles/index'>;
|
||||
}
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/implicitRoles/input.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/src/util/implicitRoles/input'>;
|
||||
}
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/implicitRoles/li.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/src/util/implicitRoles/li'>;
|
||||
}
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/implicitRoles/link.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/src/util/implicitRoles/link'>;
|
||||
}
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/implicitRoles/menu.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/src/util/implicitRoles/menu'>;
|
||||
}
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/implicitRoles/menuitem.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/src/util/implicitRoles/menuitem'>;
|
||||
}
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/implicitRoles/meter.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/src/util/implicitRoles/meter'>;
|
||||
}
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/implicitRoles/nav.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/src/util/implicitRoles/nav'>;
|
||||
}
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/implicitRoles/ol.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/src/util/implicitRoles/ol'>;
|
||||
}
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/implicitRoles/option.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/src/util/implicitRoles/option'>;
|
||||
}
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/implicitRoles/output.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/src/util/implicitRoles/output'>;
|
||||
}
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/implicitRoles/progress.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/src/util/implicitRoles/progress'>;
|
||||
}
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/implicitRoles/section.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/src/util/implicitRoles/section'>;
|
||||
}
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/implicitRoles/select.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/src/util/implicitRoles/select'>;
|
||||
}
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/implicitRoles/tbody.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/src/util/implicitRoles/tbody'>;
|
||||
}
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/implicitRoles/textarea.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/src/util/implicitRoles/textarea'>;
|
||||
}
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/implicitRoles/tfoot.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/src/util/implicitRoles/tfoot'>;
|
||||
}
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/implicitRoles/thead.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/src/util/implicitRoles/thead'>;
|
||||
}
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/implicitRoles/ul.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/src/util/implicitRoles/ul'>;
|
||||
}
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/isAbstractRole.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/src/util/isAbstractRole'>;
|
||||
}
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/isHiddenFromScreenReader.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/src/util/isHiddenFromScreenReader'>;
|
||||
}
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/isInteractiveElement.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/src/util/isInteractiveElement'>;
|
||||
}
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/isInteractiveRole.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/src/util/isInteractiveRole'>;
|
||||
}
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/isNonInteractiveElement.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/src/util/isNonInteractiveElement'>;
|
||||
}
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/isNonInteractiveRole.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/src/util/isNonInteractiveRole'>;
|
||||
}
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/isPresentationRole.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/src/util/isPresentationRole'>;
|
||||
}
|
||||
declare module 'eslint-plugin-jsx-a11y/src/util/schemas.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/src/util/schemas'>;
|
||||
}
|
||||
|
24
flow-typed/npm/eslint-plugin-prettier_vx.x.x.js
vendored
24
flow-typed/npm/eslint-plugin-prettier_vx.x.x.js
vendored
@ -1,5 +1,5 @@
|
||||
// flow-typed signature: 7705993c316ac97ed14e3e50dcf0b057
|
||||
// flow-typed version: <<STUB>>/eslint-plugin-prettier_v^2.0.1/flow_v0.49.1
|
||||
// flow-typed signature: 7b7630de521fce26208f7c16dbb0455b
|
||||
// flow-typed version: <<STUB>>/eslint-plugin-prettier_v^2.1.2/flow_v0.51.0
|
||||
|
||||
/**
|
||||
* This is an autogenerated libdef stub for:
|
||||
@ -22,25 +22,11 @@ declare module 'eslint-plugin-prettier' {
|
||||
* require those files directly. Feel free to delete any files that aren't
|
||||
* needed.
|
||||
*/
|
||||
declare module 'eslint-plugin-prettier/lib/index' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-prettier/lib/rules/prettier' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-prettier/tests/lib/rules/prettier' {
|
||||
declare module 'eslint-plugin-prettier/eslint-plugin-prettier' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
// Filename aliases
|
||||
declare module 'eslint-plugin-prettier/lib/index.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-prettier/lib/index'>;
|
||||
}
|
||||
declare module 'eslint-plugin-prettier/lib/rules/prettier.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-prettier/lib/rules/prettier'>;
|
||||
}
|
||||
declare module 'eslint-plugin-prettier/tests/lib/rules/prettier.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-prettier/tests/lib/rules/prettier'>;
|
||||
declare module 'eslint-plugin-prettier/eslint-plugin-prettier.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-prettier/eslint-plugin-prettier'>;
|
||||
}
|
||||
|
25
flow-typed/npm/eslint-plugin-react_vx.x.x.js
vendored
25
flow-typed/npm/eslint-plugin-react_vx.x.x.js
vendored
@ -1,5 +1,5 @@
|
||||
// flow-typed signature: 9cc99825da1604cebf5b62c3c3282021
|
||||
// flow-typed version: <<STUB>>/eslint-plugin-react_v^7.0.1/flow_v0.49.1
|
||||
// flow-typed signature: ea6ca68500e4e9e0009cc35f69695016
|
||||
// flow-typed version: <<STUB>>/eslint-plugin-react_v^7.1.0/flow_v0.51.0
|
||||
|
||||
/**
|
||||
* This is an autogenerated libdef stub for:
|
||||
@ -22,6 +22,10 @@ declare module 'eslint-plugin-react' {
|
||||
* require those files directly. Feel free to delete any files that aren't
|
||||
* needed.
|
||||
*/
|
||||
declare module 'eslint-plugin-react/lib/rules/default-props-match-prop-types' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-react/lib/rules/display-name' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
@ -50,6 +54,10 @@ declare module 'eslint-plugin-react/lib/rules/jsx-closing-bracket-location' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-react/lib/rules/jsx-closing-tag-location' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-react/lib/rules/jsx-curly-spacing' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
@ -182,6 +190,10 @@ declare module 'eslint-plugin-react/lib/rules/no-multi-comp' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-react/lib/rules/no-redundant-should-component-update' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-react/lib/rules/no-render-return-value' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
@ -293,6 +305,9 @@ declare module 'eslint-plugin-react/index' {
|
||||
declare module 'eslint-plugin-react/index.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-react'>;
|
||||
}
|
||||
declare module 'eslint-plugin-react/lib/rules/default-props-match-prop-types.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-react/lib/rules/default-props-match-prop-types'>;
|
||||
}
|
||||
declare module 'eslint-plugin-react/lib/rules/display-name.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-react/lib/rules/display-name'>;
|
||||
}
|
||||
@ -314,6 +329,9 @@ declare module 'eslint-plugin-react/lib/rules/jsx-boolean-value.js' {
|
||||
declare module 'eslint-plugin-react/lib/rules/jsx-closing-bracket-location.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-closing-bracket-location'>;
|
||||
}
|
||||
declare module 'eslint-plugin-react/lib/rules/jsx-closing-tag-location.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-closing-tag-location'>;
|
||||
}
|
||||
declare module 'eslint-plugin-react/lib/rules/jsx-curly-spacing.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-curly-spacing'>;
|
||||
}
|
||||
@ -413,6 +431,9 @@ declare module 'eslint-plugin-react/lib/rules/no-is-mounted.js' {
|
||||
declare module 'eslint-plugin-react/lib/rules/no-multi-comp.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-react/lib/rules/no-multi-comp'>;
|
||||
}
|
||||
declare module 'eslint-plugin-react/lib/rules/no-redundant-should-component-update.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-react/lib/rules/no-redundant-should-component-update'>;
|
||||
}
|
||||
declare module 'eslint-plugin-react/lib/rules/no-render-return-value.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-react/lib/rules/no-render-return-value'>;
|
||||
}
|
||||
|
114
flow-typed/npm/eslint_vx.x.x.js
vendored
114
flow-typed/npm/eslint_vx.x.x.js
vendored
@ -1,5 +1,5 @@
|
||||
// flow-typed signature: dd3494d8356296df35d657fd358968c5
|
||||
// flow-typed version: <<STUB>>/eslint_v^3.19.0/flow_v0.49.1
|
||||
// flow-typed signature: 173e2e16c3bec8bd7d66b3dfa0c8924d
|
||||
// flow-typed version: <<STUB>>/eslint_v^4.2.0/flow_v0.51.0
|
||||
|
||||
/**
|
||||
* This is an autogenerated libdef stub for:
|
||||
@ -26,7 +26,15 @@ declare module 'eslint/bin/eslint' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint/conf/cli-options' {
|
||||
declare module 'eslint/conf/config-schema' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint/conf/default-cli-options' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint/conf/default-config-options' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
@ -94,6 +102,10 @@ declare module 'eslint/lib/config/autoconfig' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint/lib/config/config-cache' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint/lib/config/config-file' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
@ -122,10 +134,6 @@ declare module 'eslint/lib/config/plugins' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint/lib/eslint' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint/lib/file-finder' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
@ -190,6 +198,10 @@ declare module 'eslint/lib/internal-rules/internal-no-invalid-meta' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint/lib/linter' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint/lib/load-rules' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
@ -214,6 +226,10 @@ declare module 'eslint/lib/rules/accessor-pairs' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint/lib/rules/array-bracket-newline' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint/lib/rules/array-bracket-spacing' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
@ -222,6 +238,10 @@ declare module 'eslint/lib/rules/array-callback-return' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint/lib/rules/array-element-newline' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint/lib/rules/arrow-body-style' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
@ -318,6 +338,10 @@ declare module 'eslint/lib/rules/eqeqeq' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint/lib/rules/for-direction' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint/lib/rules/func-call-spacing' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
@ -338,6 +362,10 @@ declare module 'eslint/lib/rules/generator-star-spacing' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint/lib/rules/getter-return' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint/lib/rules/global-require' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
@ -362,6 +390,10 @@ declare module 'eslint/lib/rules/id-match' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint/lib/rules/indent-legacy' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint/lib/rules/indent' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
@ -466,6 +498,10 @@ declare module 'eslint/lib/rules/no-bitwise' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint/lib/rules/no-buffer-constructor' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint/lib/rules/no-caller' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
@ -1026,6 +1062,10 @@ declare module 'eslint/lib/rules/padded-blocks' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint/lib/rules/padding-line-between-statements' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint/lib/rules/prefer-arrow-callback' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
@ -1094,6 +1134,10 @@ declare module 'eslint/lib/rules/semi-spacing' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint/lib/rules/semi-style' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint/lib/rules/semi' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
@ -1138,6 +1182,10 @@ declare module 'eslint/lib/rules/strict' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint/lib/rules/switch-colon-spacing' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint/lib/rules/symbol-description' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
@ -1250,7 +1298,7 @@ declare module 'eslint/lib/token-store/utils' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint/lib/util/comment-event-generator' {
|
||||
declare module 'eslint/lib/util/ajv' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
@ -1322,8 +1370,14 @@ declare module 'eslint/lib/util/xml-escape' {
|
||||
declare module 'eslint/bin/eslint.js' {
|
||||
declare module.exports: $Exports<'eslint/bin/eslint'>;
|
||||
}
|
||||
declare module 'eslint/conf/cli-options.js' {
|
||||
declare module.exports: $Exports<'eslint/conf/cli-options'>;
|
||||
declare module 'eslint/conf/config-schema.js' {
|
||||
declare module.exports: $Exports<'eslint/conf/config-schema'>;
|
||||
}
|
||||
declare module 'eslint/conf/default-cli-options.js' {
|
||||
declare module.exports: $Exports<'eslint/conf/default-cli-options'>;
|
||||
}
|
||||
declare module 'eslint/conf/default-config-options.js' {
|
||||
declare module.exports: $Exports<'eslint/conf/default-config-options'>;
|
||||
}
|
||||
declare module 'eslint/conf/environments.js' {
|
||||
declare module.exports: $Exports<'eslint/conf/environments'>;
|
||||
@ -1373,6 +1427,9 @@ declare module 'eslint/lib/config.js' {
|
||||
declare module 'eslint/lib/config/autoconfig.js' {
|
||||
declare module.exports: $Exports<'eslint/lib/config/autoconfig'>;
|
||||
}
|
||||
declare module 'eslint/lib/config/config-cache.js' {
|
||||
declare module.exports: $Exports<'eslint/lib/config/config-cache'>;
|
||||
}
|
||||
declare module 'eslint/lib/config/config-file.js' {
|
||||
declare module.exports: $Exports<'eslint/lib/config/config-file'>;
|
||||
}
|
||||
@ -1394,9 +1451,6 @@ declare module 'eslint/lib/config/environments.js' {
|
||||
declare module 'eslint/lib/config/plugins.js' {
|
||||
declare module.exports: $Exports<'eslint/lib/config/plugins'>;
|
||||
}
|
||||
declare module 'eslint/lib/eslint.js' {
|
||||
declare module.exports: $Exports<'eslint/lib/eslint'>;
|
||||
}
|
||||
declare module 'eslint/lib/file-finder.js' {
|
||||
declare module.exports: $Exports<'eslint/lib/file-finder'>;
|
||||
}
|
||||
@ -1445,6 +1499,9 @@ declare module 'eslint/lib/internal-rules/internal-consistent-docs-description.j
|
||||
declare module 'eslint/lib/internal-rules/internal-no-invalid-meta.js' {
|
||||
declare module.exports: $Exports<'eslint/lib/internal-rules/internal-no-invalid-meta'>;
|
||||
}
|
||||
declare module 'eslint/lib/linter.js' {
|
||||
declare module.exports: $Exports<'eslint/lib/linter'>;
|
||||
}
|
||||
declare module 'eslint/lib/load-rules.js' {
|
||||
declare module.exports: $Exports<'eslint/lib/load-rules'>;
|
||||
}
|
||||
@ -1463,12 +1520,18 @@ declare module 'eslint/lib/rules.js' {
|
||||
declare module 'eslint/lib/rules/accessor-pairs.js' {
|
||||
declare module.exports: $Exports<'eslint/lib/rules/accessor-pairs'>;
|
||||
}
|
||||
declare module 'eslint/lib/rules/array-bracket-newline.js' {
|
||||
declare module.exports: $Exports<'eslint/lib/rules/array-bracket-newline'>;
|
||||
}
|
||||
declare module 'eslint/lib/rules/array-bracket-spacing.js' {
|
||||
declare module.exports: $Exports<'eslint/lib/rules/array-bracket-spacing'>;
|
||||
}
|
||||
declare module 'eslint/lib/rules/array-callback-return.js' {
|
||||
declare module.exports: $Exports<'eslint/lib/rules/array-callback-return'>;
|
||||
}
|
||||
declare module 'eslint/lib/rules/array-element-newline.js' {
|
||||
declare module.exports: $Exports<'eslint/lib/rules/array-element-newline'>;
|
||||
}
|
||||
declare module 'eslint/lib/rules/arrow-body-style.js' {
|
||||
declare module.exports: $Exports<'eslint/lib/rules/arrow-body-style'>;
|
||||
}
|
||||
@ -1541,6 +1604,9 @@ declare module 'eslint/lib/rules/eol-last.js' {
|
||||
declare module 'eslint/lib/rules/eqeqeq.js' {
|
||||
declare module.exports: $Exports<'eslint/lib/rules/eqeqeq'>;
|
||||
}
|
||||
declare module 'eslint/lib/rules/for-direction.js' {
|
||||
declare module.exports: $Exports<'eslint/lib/rules/for-direction'>;
|
||||
}
|
||||
declare module 'eslint/lib/rules/func-call-spacing.js' {
|
||||
declare module.exports: $Exports<'eslint/lib/rules/func-call-spacing'>;
|
||||
}
|
||||
@ -1556,6 +1622,9 @@ declare module 'eslint/lib/rules/func-style.js' {
|
||||
declare module 'eslint/lib/rules/generator-star-spacing.js' {
|
||||
declare module.exports: $Exports<'eslint/lib/rules/generator-star-spacing'>;
|
||||
}
|
||||
declare module 'eslint/lib/rules/getter-return.js' {
|
||||
declare module.exports: $Exports<'eslint/lib/rules/getter-return'>;
|
||||
}
|
||||
declare module 'eslint/lib/rules/global-require.js' {
|
||||
declare module.exports: $Exports<'eslint/lib/rules/global-require'>;
|
||||
}
|
||||
@ -1574,6 +1643,9 @@ declare module 'eslint/lib/rules/id-length.js' {
|
||||
declare module 'eslint/lib/rules/id-match.js' {
|
||||
declare module.exports: $Exports<'eslint/lib/rules/id-match'>;
|
||||
}
|
||||
declare module 'eslint/lib/rules/indent-legacy.js' {
|
||||
declare module.exports: $Exports<'eslint/lib/rules/indent-legacy'>;
|
||||
}
|
||||
declare module 'eslint/lib/rules/indent.js' {
|
||||
declare module.exports: $Exports<'eslint/lib/rules/indent'>;
|
||||
}
|
||||
@ -1652,6 +1724,9 @@ declare module 'eslint/lib/rules/no-await-in-loop.js' {
|
||||
declare module 'eslint/lib/rules/no-bitwise.js' {
|
||||
declare module.exports: $Exports<'eslint/lib/rules/no-bitwise'>;
|
||||
}
|
||||
declare module 'eslint/lib/rules/no-buffer-constructor.js' {
|
||||
declare module.exports: $Exports<'eslint/lib/rules/no-buffer-constructor'>;
|
||||
}
|
||||
declare module 'eslint/lib/rules/no-caller.js' {
|
||||
declare module.exports: $Exports<'eslint/lib/rules/no-caller'>;
|
||||
}
|
||||
@ -2072,6 +2147,9 @@ declare module 'eslint/lib/rules/operator-linebreak.js' {
|
||||
declare module 'eslint/lib/rules/padded-blocks.js' {
|
||||
declare module.exports: $Exports<'eslint/lib/rules/padded-blocks'>;
|
||||
}
|
||||
declare module 'eslint/lib/rules/padding-line-between-statements.js' {
|
||||
declare module.exports: $Exports<'eslint/lib/rules/padding-line-between-statements'>;
|
||||
}
|
||||
declare module 'eslint/lib/rules/prefer-arrow-callback.js' {
|
||||
declare module.exports: $Exports<'eslint/lib/rules/prefer-arrow-callback'>;
|
||||
}
|
||||
@ -2123,6 +2201,9 @@ declare module 'eslint/lib/rules/rest-spread-spacing.js' {
|
||||
declare module 'eslint/lib/rules/semi-spacing.js' {
|
||||
declare module.exports: $Exports<'eslint/lib/rules/semi-spacing'>;
|
||||
}
|
||||
declare module 'eslint/lib/rules/semi-style.js' {
|
||||
declare module.exports: $Exports<'eslint/lib/rules/semi-style'>;
|
||||
}
|
||||
declare module 'eslint/lib/rules/semi.js' {
|
||||
declare module.exports: $Exports<'eslint/lib/rules/semi'>;
|
||||
}
|
||||
@ -2156,6 +2237,9 @@ declare module 'eslint/lib/rules/spaced-comment.js' {
|
||||
declare module 'eslint/lib/rules/strict.js' {
|
||||
declare module.exports: $Exports<'eslint/lib/rules/strict'>;
|
||||
}
|
||||
declare module 'eslint/lib/rules/switch-colon-spacing.js' {
|
||||
declare module.exports: $Exports<'eslint/lib/rules/switch-colon-spacing'>;
|
||||
}
|
||||
declare module 'eslint/lib/rules/symbol-description.js' {
|
||||
declare module.exports: $Exports<'eslint/lib/rules/symbol-description'>;
|
||||
}
|
||||
@ -2240,8 +2324,8 @@ declare module 'eslint/lib/token-store/skip-cursor.js' {
|
||||
declare module 'eslint/lib/token-store/utils.js' {
|
||||
declare module.exports: $Exports<'eslint/lib/token-store/utils'>;
|
||||
}
|
||||
declare module 'eslint/lib/util/comment-event-generator.js' {
|
||||
declare module.exports: $Exports<'eslint/lib/util/comment-event-generator'>;
|
||||
declare module 'eslint/lib/util/ajv.js' {
|
||||
declare module.exports: $Exports<'eslint/lib/util/ajv'>;
|
||||
}
|
||||
declare module 'eslint/lib/util/fix-tracker.js' {
|
||||
declare module.exports: $Exports<'eslint/lib/util/fix-tracker'>;
|
||||
|
@ -1,5 +1,5 @@
|
||||
// flow-typed signature: b6d0f1f7d2b72d32bb73490f48fef0f0
|
||||
// flow-typed version: <<STUB>>/hoist-non-react-statics_v^1.2.0/flow_v0.49.1
|
||||
// flow-typed signature: 2420f6e61267a4a2cc309c97710f2b13
|
||||
// flow-typed version: <<STUB>>/hoist-non-react-statics_v^2.2.0/flow_v0.51.0
|
||||
|
||||
/**
|
||||
* This is an autogenerated libdef stub for:
|
||||
|
88
flow-typed/npm/husky_vx.x.x.js
vendored
Normal file
88
flow-typed/npm/husky_vx.x.x.js
vendored
Normal file
@ -0,0 +1,88 @@
|
||||
// flow-typed signature: 4fdb4ded90c07a2f76c9021de4d800b4
|
||||
// flow-typed version: <<STUB>>/husky_v^0.14.3/flow_v0.51.0
|
||||
|
||||
/**
|
||||
* This is an autogenerated libdef stub for:
|
||||
*
|
||||
* 'husky'
|
||||
*
|
||||
* Fill this stub out by replacing all the `any` types.
|
||||
*
|
||||
* Once filled out, we encourage you to share your work with the
|
||||
* community by sending a pull request to:
|
||||
* https://github.com/flowtype/flow-typed
|
||||
*/
|
||||
|
||||
declare module 'husky' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
/**
|
||||
* We include stubs for each file inside this npm package in case you need to
|
||||
* require those files directly. Feel free to delete any files that aren't
|
||||
* needed.
|
||||
*/
|
||||
declare module 'husky/__tests__/index' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'husky/bin/install' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'husky/bin/uninstall' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'husky/src/install' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'husky/src/uninstall' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'husky/src/utils/find-hooks-dir' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'husky/src/utils/find-parent' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'husky/src/utils/get-hook-script' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'husky/src/utils/is-husky' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
// Filename aliases
|
||||
declare module 'husky/__tests__/index.js' {
|
||||
declare module.exports: $Exports<'husky/__tests__/index'>;
|
||||
}
|
||||
declare module 'husky/bin/install.js' {
|
||||
declare module.exports: $Exports<'husky/bin/install'>;
|
||||
}
|
||||
declare module 'husky/bin/uninstall.js' {
|
||||
declare module.exports: $Exports<'husky/bin/uninstall'>;
|
||||
}
|
||||
declare module 'husky/src/install.js' {
|
||||
declare module.exports: $Exports<'husky/src/install'>;
|
||||
}
|
||||
declare module 'husky/src/uninstall.js' {
|
||||
declare module.exports: $Exports<'husky/src/uninstall'>;
|
||||
}
|
||||
declare module 'husky/src/utils/find-hooks-dir.js' {
|
||||
declare module.exports: $Exports<'husky/src/utils/find-hooks-dir'>;
|
||||
}
|
||||
declare module 'husky/src/utils/find-parent.js' {
|
||||
declare module.exports: $Exports<'husky/src/utils/find-parent'>;
|
||||
}
|
||||
declare module 'husky/src/utils/get-hook-script.js' {
|
||||
declare module.exports: $Exports<'husky/src/utils/get-hook-script'>;
|
||||
}
|
||||
declare module 'husky/src/utils/is-husky.js' {
|
||||
declare module.exports: $Exports<'husky/src/utils/is-husky'>;
|
||||
}
|
68
flow-typed/npm/jest_v20.x.x.js
vendored
68
flow-typed/npm/jest_v20.x.x.js
vendored
@ -1,8 +1,8 @@
|
||||
// flow-typed signature: a0369c11661f437ec4ccdd805579ddcf
|
||||
// flow-typed version: c4b9fea7c9/jest_v20.x.x/flow_>=v0.33.x
|
||||
// flow-typed signature: 5960ed076fe29ecf92f57584d68acf98
|
||||
// flow-typed version: b2a49dc910/jest_v20.x.x/flow_>=v0.39.x
|
||||
|
||||
type JestMockFn = {
|
||||
(...args: Array<any>): any,
|
||||
type JestMockFn<TArguments: $ReadOnlyArray<*>, TReturn> = {
|
||||
(...args: TArguments): TReturn,
|
||||
/**
|
||||
* An object for introspecting mock calls
|
||||
*/
|
||||
@ -12,24 +12,24 @@ type JestMockFn = {
|
||||
* function. Each call is represented by an array of arguments that were
|
||||
* passed during the call.
|
||||
*/
|
||||
calls: Array<Array<any>>,
|
||||
calls: Array<TArguments>,
|
||||
/**
|
||||
* An array that contains all the object instances that have been
|
||||
* instantiated from this mock function.
|
||||
*/
|
||||
instances: mixed
|
||||
instances: Array<TReturn>
|
||||
},
|
||||
/**
|
||||
* Resets all information stored in the mockFn.mock.calls and
|
||||
* mockFn.mock.instances arrays. Often this is useful when you want to clean
|
||||
* up a mock's usage data between two assertions.
|
||||
*/
|
||||
mockClear(): Function,
|
||||
mockClear(): void,
|
||||
/**
|
||||
* Resets all information stored in the mock. This is useful when you want to
|
||||
* completely restore a mock back to its initial state.
|
||||
*/
|
||||
mockReset(): Function,
|
||||
mockReset(): void,
|
||||
/**
|
||||
* Removes the mock and restores the initial implementation. This is useful
|
||||
* when you want to mock functions in certain test cases and restore the
|
||||
@ -37,20 +37,24 @@ type JestMockFn = {
|
||||
* works when mock was created with jest.spyOn. Thus you have to take care of
|
||||
* restoration yourself when manually assigning jest.fn().
|
||||
*/
|
||||
mockRestore(): Function,
|
||||
mockRestore(): void,
|
||||
/**
|
||||
* Accepts a function that should be used as the implementation of the mock.
|
||||
* The mock itself will still record all calls that go into and instances
|
||||
* that come from itself -- the only difference is that the implementation
|
||||
* will also be executed when the mock is called.
|
||||
*/
|
||||
mockImplementation(fn: Function): JestMockFn,
|
||||
mockImplementation(
|
||||
fn: (...args: TArguments) => TReturn,
|
||||
): JestMockFn<TArguments, TReturn>,
|
||||
/**
|
||||
* Accepts a function that will be used as an implementation of the mock for
|
||||
* one call to the mocked function. Can be chained so that multiple function
|
||||
* calls produce different results.
|
||||
*/
|
||||
mockImplementationOnce(fn: Function): JestMockFn,
|
||||
mockImplementationOnce(
|
||||
fn: (...args: TArguments) => TReturn,
|
||||
): JestMockFn<TArguments, TReturn>,
|
||||
/**
|
||||
* Just a simple sugar function for returning `this`
|
||||
*/
|
||||
@ -58,11 +62,11 @@ type JestMockFn = {
|
||||
/**
|
||||
* Deprecated: use jest.fn(() => value) instead
|
||||
*/
|
||||
mockReturnValue(value: any): JestMockFn,
|
||||
mockReturnValue(value: TReturn): JestMockFn<TArguments, TReturn>,
|
||||
/**
|
||||
* Sugar for only returning a value once inside your mock
|
||||
*/
|
||||
mockReturnValueOnce(value: any): JestMockFn
|
||||
mockReturnValueOnce(value: TReturn): JestMockFn<TArguments, TReturn>
|
||||
};
|
||||
|
||||
type JestAsymmetricEqualityType = {
|
||||
@ -324,7 +328,9 @@ type JestObjectType = {
|
||||
* Returns a new, unused mock function. Optionally takes a mock
|
||||
* implementation.
|
||||
*/
|
||||
fn(implementation?: Function): JestMockFn,
|
||||
fn<TArguments: $ReadOnlyArray<*>, TReturn>(
|
||||
implementation?: (...args: TArguments) => TReturn,
|
||||
): JestMockFn<TArguments, TReturn>,
|
||||
/**
|
||||
* Determines if the given function is a mocked function.
|
||||
*/
|
||||
@ -404,7 +410,7 @@ type JestObjectType = {
|
||||
* Creates a mock function similar to jest.fn but also tracks calls to
|
||||
* object[methodName].
|
||||
*/
|
||||
spyOn(object: Object, methodName: string): JestMockFn
|
||||
spyOn(object: Object, methodName: string): JestMockFn<any, any>
|
||||
};
|
||||
|
||||
type JestSpyType = {
|
||||
@ -412,30 +418,30 @@ type JestSpyType = {
|
||||
};
|
||||
|
||||
/** Runs this function after every test inside this context */
|
||||
declare function afterEach(fn: Function): void;
|
||||
declare function afterEach(fn: (done: () => void) => ?Promise<mixed>, timeout?: number): void;
|
||||
/** Runs this function before every test inside this context */
|
||||
declare function beforeEach(fn: Function): void;
|
||||
declare function beforeEach(fn: (done: () => void) => ?Promise<mixed>, timeout?: number): void;
|
||||
/** Runs this function after all tests have finished inside this context */
|
||||
declare function afterAll(fn: Function): void;
|
||||
declare function afterAll(fn: (done: () => void) => ?Promise<mixed>, timeout?: number): void;
|
||||
/** Runs this function before any tests have started inside this context */
|
||||
declare function beforeAll(fn: Function): void;
|
||||
declare function beforeAll(fn: (done: () => void) => ?Promise<mixed>, timeout?: number): void;
|
||||
|
||||
/** A context for grouping tests together */
|
||||
declare var describe: {
|
||||
/**
|
||||
* Creates a block that groups together several related tests in one "test suite"
|
||||
*/
|
||||
(name: string, fn: Function): void,
|
||||
(name: string, fn: () => void): void,
|
||||
|
||||
/**
|
||||
* Only run this describe block
|
||||
*/
|
||||
only(name: string, fn: Function): void,
|
||||
only(name: string, fn: () => void): void,
|
||||
|
||||
/**
|
||||
* Skip running this describe block
|
||||
*/
|
||||
skip(name: string, fn: Function): void,
|
||||
skip(name: string, fn: () => void): void,
|
||||
};
|
||||
|
||||
|
||||
@ -446,31 +452,39 @@ declare var it: {
|
||||
*
|
||||
* @param {string} Name of Test
|
||||
* @param {Function} Test
|
||||
* @param {number} Timeout for the test, in milliseconds.
|
||||
*/
|
||||
(name: string, fn?: Function): ?Promise<void>,
|
||||
(name: string, fn?: (done: () => void) => ?Promise<mixed>, timeout?: number): void,
|
||||
/**
|
||||
* Only run this test
|
||||
*
|
||||
* @param {string} Name of Test
|
||||
* @param {Function} Test
|
||||
* @param {number} Timeout for the test, in milliseconds.
|
||||
*/
|
||||
only(name: string, fn?: Function): ?Promise<void>,
|
||||
only(name: string, fn?: (done: () => void) => ?Promise<mixed>, timeout?: number): void,
|
||||
/**
|
||||
* Skip running this test
|
||||
*
|
||||
* @param {string} Name of Test
|
||||
* @param {Function} Test
|
||||
* @param {number} Timeout for the test, in milliseconds.
|
||||
*/
|
||||
skip(name: string, fn?: Function): ?Promise<void>,
|
||||
skip(name: string, fn?: (done: () => void) => ?Promise<mixed>, timeout?: number): void,
|
||||
/**
|
||||
* Run the test concurrently
|
||||
*
|
||||
* @param {string} Name of Test
|
||||
* @param {Function} Test
|
||||
* @param {number} Timeout for the test, in milliseconds.
|
||||
*/
|
||||
concurrent(name: string, fn?: Function): ?Promise<void>
|
||||
concurrent(name: string, fn?: (done: () => void) => ?Promise<mixed>, timeout?: number): void,
|
||||
};
|
||||
declare function fit(name: string, fn: Function): ?Promise<void>;
|
||||
declare function fit(
|
||||
name: string,
|
||||
fn: (done: () => void) => ?Promise<mixed>,
|
||||
timeout?: number,
|
||||
): void;
|
||||
/** An individual test unit */
|
||||
declare var test: typeof it;
|
||||
/** A disabled group of tests */
|
||||
|
94
flow-typed/npm/lint-staged_vx.x.x.js
vendored
Normal file
94
flow-typed/npm/lint-staged_vx.x.x.js
vendored
Normal file
@ -0,0 +1,94 @@
|
||||
// flow-typed signature: f2a5691cc957c85ee168949d07ea8aee
|
||||
// flow-typed version: <<STUB>>/lint-staged_v^4.2.1/flow_v0.51.0
|
||||
|
||||
/**
|
||||
* This is an autogenerated libdef stub for:
|
||||
*
|
||||
* 'lint-staged'
|
||||
*
|
||||
* Fill this stub out by replacing all the `any` types.
|
||||
*
|
||||
* Once filled out, we encourage you to share your work with the
|
||||
* community by sending a pull request to:
|
||||
* https://github.com/flowtype/flow-typed
|
||||
*/
|
||||
|
||||
declare module 'lint-staged' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
/**
|
||||
* We include stubs for each file inside this npm package in case you need to
|
||||
* require those files directly. Feel free to delete any files that aren't
|
||||
* needed.
|
||||
*/
|
||||
declare module 'lint-staged/src/calcChunkSize' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'lint-staged/src/findBin' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'lint-staged/src/generateTasks' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'lint-staged/src/getConfig' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'lint-staged/src/index' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'lint-staged/src/printErrors' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'lint-staged/src/resolveGitDir' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'lint-staged/src/runAll' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'lint-staged/src/runScript' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
// Filename aliases
|
||||
declare module 'lint-staged/index' {
|
||||
declare module.exports: $Exports<'lint-staged'>;
|
||||
}
|
||||
declare module 'lint-staged/index.js' {
|
||||
declare module.exports: $Exports<'lint-staged'>;
|
||||
}
|
||||
declare module 'lint-staged/src/calcChunkSize.js' {
|
||||
declare module.exports: $Exports<'lint-staged/src/calcChunkSize'>;
|
||||
}
|
||||
declare module 'lint-staged/src/findBin.js' {
|
||||
declare module.exports: $Exports<'lint-staged/src/findBin'>;
|
||||
}
|
||||
declare module 'lint-staged/src/generateTasks.js' {
|
||||
declare module.exports: $Exports<'lint-staged/src/generateTasks'>;
|
||||
}
|
||||
declare module 'lint-staged/src/getConfig.js' {
|
||||
declare module.exports: $Exports<'lint-staged/src/getConfig'>;
|
||||
}
|
||||
declare module 'lint-staged/src/index.js' {
|
||||
declare module.exports: $Exports<'lint-staged/src/index'>;
|
||||
}
|
||||
declare module 'lint-staged/src/printErrors.js' {
|
||||
declare module.exports: $Exports<'lint-staged/src/printErrors'>;
|
||||
}
|
||||
declare module 'lint-staged/src/resolveGitDir.js' {
|
||||
declare module.exports: $Exports<'lint-staged/src/resolveGitDir'>;
|
||||
}
|
||||
declare module 'lint-staged/src/runAll.js' {
|
||||
declare module.exports: $Exports<'lint-staged/src/runAll'>;
|
||||
}
|
||||
declare module 'lint-staged/src/runScript.js' {
|
||||
declare module.exports: $Exports<'lint-staged/src/runScript'>;
|
||||
}
|
4
flow-typed/npm/path-to-regexp_vx.x.x.js
vendored
4
flow-typed/npm/path-to-regexp_vx.x.x.js
vendored
@ -1,5 +1,5 @@
|
||||
// flow-typed signature: 0ca9b6466bef8d8a1065047d9b2377ed
|
||||
// flow-typed version: <<STUB>>/path-to-regexp_v^1.7.0/flow_v0.49.1
|
||||
// flow-typed signature: 19d6c23aa4afe0e737c2b58b9a43076d
|
||||
// flow-typed version: <<STUB>>/path-to-regexp_v^1.7.0/flow_v0.51.0
|
||||
|
||||
/**
|
||||
* This is an autogenerated libdef stub for:
|
||||
|
4
flow-typed/npm/prettier-eslint_vx.x.x.js
vendored
4
flow-typed/npm/prettier-eslint_vx.x.x.js
vendored
@ -1,5 +1,5 @@
|
||||
// flow-typed signature: 6ad6e1964ca9ba7f00adea8639590b31
|
||||
// flow-typed version: <<STUB>>/prettier-eslint_v^6.2.2/flow_v0.49.1
|
||||
// flow-typed signature: b522b764e6e679e38f1a5d3048a967a9
|
||||
// flow-typed version: <<STUB>>/prettier-eslint_v^6.4.2/flow_v0.51.0
|
||||
|
||||
/**
|
||||
* This is an autogenerated libdef stub for:
|
||||
|
116
flow-typed/npm/prettier_vx.x.x.js
vendored
116
flow-typed/npm/prettier_vx.x.x.js
vendored
@ -1,5 +1,5 @@
|
||||
// flow-typed signature: dcfbb1bce70b2357d74f7cab0391981c
|
||||
// flow-typed version: <<STUB>>/prettier_v^1.3.1/flow_v0.49.1
|
||||
// flow-typed signature: 059378722069c524e383caa65a0e6772
|
||||
// flow-typed version: <<STUB>>/prettier_v^1.5.3/flow_v0.51.0
|
||||
|
||||
/**
|
||||
* This is an autogenerated libdef stub for:
|
||||
@ -26,71 +26,31 @@ declare module 'prettier/bin/prettier' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'prettier/docs/prettier.min' {
|
||||
declare module 'prettier/parser-babylon' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'prettier/docs/rollup.config' {
|
||||
declare module 'prettier/parser-flow' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'prettier/scripts/sync-flow-tests' {
|
||||
declare module 'prettier/parser-graphql' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'prettier/src/ast-types' {
|
||||
declare module 'prettier/parser-json' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'prettier/src/comments' {
|
||||
declare module 'prettier/parser-parse5' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'prettier/src/deprecated' {
|
||||
declare module 'prettier/parser-postcss' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'prettier/src/doc-builders' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'prettier/src/doc-debug' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'prettier/src/doc-printer' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'prettier/src/doc-utils' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'prettier/src/fast-path' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'prettier/src/options' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'prettier/src/parser' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'prettier/src/printer' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'prettier/src/typescript-ast-nodes' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'prettier/src/util' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'prettier/test' {
|
||||
declare module 'prettier/parser-typescript' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
@ -98,60 +58,30 @@ declare module 'prettier/test' {
|
||||
declare module 'prettier/bin/prettier.js' {
|
||||
declare module.exports: $Exports<'prettier/bin/prettier'>;
|
||||
}
|
||||
declare module 'prettier/docs/prettier.min.js' {
|
||||
declare module.exports: $Exports<'prettier/docs/prettier.min'>;
|
||||
}
|
||||
declare module 'prettier/docs/rollup.config.js' {
|
||||
declare module.exports: $Exports<'prettier/docs/rollup.config'>;
|
||||
}
|
||||
declare module 'prettier/index' {
|
||||
declare module.exports: $Exports<'prettier'>;
|
||||
}
|
||||
declare module 'prettier/index.js' {
|
||||
declare module.exports: $Exports<'prettier'>;
|
||||
}
|
||||
declare module 'prettier/scripts/sync-flow-tests.js' {
|
||||
declare module.exports: $Exports<'prettier/scripts/sync-flow-tests'>;
|
||||
declare module 'prettier/parser-babylon.js' {
|
||||
declare module.exports: $Exports<'prettier/parser-babylon'>;
|
||||
}
|
||||
declare module 'prettier/src/ast-types.js' {
|
||||
declare module.exports: $Exports<'prettier/src/ast-types'>;
|
||||
declare module 'prettier/parser-flow.js' {
|
||||
declare module.exports: $Exports<'prettier/parser-flow'>;
|
||||
}
|
||||
declare module 'prettier/src/comments.js' {
|
||||
declare module.exports: $Exports<'prettier/src/comments'>;
|
||||
declare module 'prettier/parser-graphql.js' {
|
||||
declare module.exports: $Exports<'prettier/parser-graphql'>;
|
||||
}
|
||||
declare module 'prettier/src/deprecated.js' {
|
||||
declare module.exports: $Exports<'prettier/src/deprecated'>;
|
||||
declare module 'prettier/parser-json.js' {
|
||||
declare module.exports: $Exports<'prettier/parser-json'>;
|
||||
}
|
||||
declare module 'prettier/src/doc-builders.js' {
|
||||
declare module.exports: $Exports<'prettier/src/doc-builders'>;
|
||||
declare module 'prettier/parser-parse5.js' {
|
||||
declare module.exports: $Exports<'prettier/parser-parse5'>;
|
||||
}
|
||||
declare module 'prettier/src/doc-debug.js' {
|
||||
declare module.exports: $Exports<'prettier/src/doc-debug'>;
|
||||
declare module 'prettier/parser-postcss.js' {
|
||||
declare module.exports: $Exports<'prettier/parser-postcss'>;
|
||||
}
|
||||
declare module 'prettier/src/doc-printer.js' {
|
||||
declare module.exports: $Exports<'prettier/src/doc-printer'>;
|
||||
}
|
||||
declare module 'prettier/src/doc-utils.js' {
|
||||
declare module.exports: $Exports<'prettier/src/doc-utils'>;
|
||||
}
|
||||
declare module 'prettier/src/fast-path.js' {
|
||||
declare module.exports: $Exports<'prettier/src/fast-path'>;
|
||||
}
|
||||
declare module 'prettier/src/options.js' {
|
||||
declare module.exports: $Exports<'prettier/src/options'>;
|
||||
}
|
||||
declare module 'prettier/src/parser.js' {
|
||||
declare module.exports: $Exports<'prettier/src/parser'>;
|
||||
}
|
||||
declare module 'prettier/src/printer.js' {
|
||||
declare module.exports: $Exports<'prettier/src/printer'>;
|
||||
}
|
||||
declare module 'prettier/src/typescript-ast-nodes.js' {
|
||||
declare module.exports: $Exports<'prettier/src/typescript-ast-nodes'>;
|
||||
}
|
||||
declare module 'prettier/src/util.js' {
|
||||
declare module.exports: $Exports<'prettier/src/util'>;
|
||||
}
|
||||
declare module 'prettier/test.js' {
|
||||
declare module.exports: $Exports<'prettier/test'>;
|
||||
declare module 'prettier/parser-typescript.js' {
|
||||
declare module.exports: $Exports<'prettier/parser-typescript'>;
|
||||
}
|
||||
|
@ -1,5 +1,5 @@
|
||||
// flow-typed signature: 3b2ac23940c896d7c1cfe61602fdb75d
|
||||
// flow-typed version: <<STUB>>/react-native-drawer-layout-polyfill_v^1.3.1/flow_v0.49.1
|
||||
// flow-typed signature: f77896c6d35da366703c12c9cb94c482
|
||||
// flow-typed version: <<STUB>>/react-native-drawer-layout-polyfill_v^1.3.2/flow_v0.51.0
|
||||
|
||||
/**
|
||||
* This is an autogenerated libdef stub for:
|
||||
|
@ -1,5 +1,5 @@
|
||||
// flow-typed signature: 2b6973f23a98d68b4e4cb18e5d8dd470
|
||||
// flow-typed version: <<STUB>>/react-native-tab-view_v^0.0.66/flow_v0.49.1
|
||||
// flow-typed signature: 86fb6e16c48818a43325691bf8be9516
|
||||
// flow-typed version: <<STUB>>/react-native-tab-view_v^0.0.69/flow_v0.51.0
|
||||
|
||||
/**
|
||||
* This is an autogenerated libdef stub for:
|
||||
|
@ -1,5 +1,5 @@
|
||||
// flow-typed signature: c0ba677d8ab5e8dd20aca1fa1514abe7
|
||||
// flow-typed version: <<STUB>>/react-native-vector-icons_v^4.1.1/flow_v0.49.1
|
||||
// flow-typed signature: 788d246453dc8d5854d8afdd311e8b8e
|
||||
// flow-typed version: <<STUB>>/react-native-vector-icons_v^4.2.0/flow_v0.51.0
|
||||
|
||||
/**
|
||||
* This is an autogenerated libdef stub for:
|
||||
|
4610
flow-typed/npm/react-native_vx.x.x.js
vendored
Normal file
4610
flow-typed/npm/react-native_vx.x.x.js
vendored
Normal file
File diff suppressed because it is too large
Load Diff
25
flow-typed/npm/react-test-renderer_vx.x.x.js
vendored
25
flow-typed/npm/react-test-renderer_vx.x.x.js
vendored
@ -1,5 +1,5 @@
|
||||
// flow-typed signature: 14e644999623c52440ec6fbefa0d2422
|
||||
// flow-typed version: <<STUB>>/react-test-renderer_v^15.4.2/flow_v0.49.1
|
||||
// flow-typed signature: 179f4d0fcf39761607226728b09ff2b5
|
||||
// flow-typed version: <<STUB>>/react-test-renderer_v^15.6.1/flow_v0.51.0
|
||||
|
||||
/**
|
||||
* This is an autogenerated libdef stub for:
|
||||
@ -98,6 +98,10 @@ declare module 'react-test-renderer/lib/KeyEscapeUtils' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'react-test-renderer/lib/lowPriorityWarning' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'react-test-renderer/lib/PluginModuleType' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
@ -498,6 +502,10 @@ declare module 'react-test-renderer/lib/shallow/HTMLDOMPropertyConfig' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'react-test-renderer/lib/shallow/inputValueTracking' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'react-test-renderer/lib/shallow/instantiateReactComponent' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
@ -518,6 +526,10 @@ declare module 'react-test-renderer/lib/shallow/LinkedValueUtils' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'react-test-renderer/lib/shallow/lowPriorityWarning' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'react-test-renderer/lib/shallow/PluginModuleType' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
@ -1074,6 +1086,9 @@ declare module 'react-test-renderer/lib/isTextInputElement.js' {
|
||||
declare module 'react-test-renderer/lib/KeyEscapeUtils.js' {
|
||||
declare module.exports: $Exports<'react-test-renderer/lib/KeyEscapeUtils'>;
|
||||
}
|
||||
declare module 'react-test-renderer/lib/lowPriorityWarning.js' {
|
||||
declare module.exports: $Exports<'react-test-renderer/lib/lowPriorityWarning'>;
|
||||
}
|
||||
declare module 'react-test-renderer/lib/PluginModuleType.js' {
|
||||
declare module.exports: $Exports<'react-test-renderer/lib/PluginModuleType'>;
|
||||
}
|
||||
@ -1374,6 +1389,9 @@ declare module 'react-test-renderer/lib/shallow/getVendorPrefixedEventName.js' {
|
||||
declare module 'react-test-renderer/lib/shallow/HTMLDOMPropertyConfig.js' {
|
||||
declare module.exports: $Exports<'react-test-renderer/lib/shallow/HTMLDOMPropertyConfig'>;
|
||||
}
|
||||
declare module 'react-test-renderer/lib/shallow/inputValueTracking.js' {
|
||||
declare module.exports: $Exports<'react-test-renderer/lib/shallow/inputValueTracking'>;
|
||||
}
|
||||
declare module 'react-test-renderer/lib/shallow/instantiateReactComponent.js' {
|
||||
declare module.exports: $Exports<'react-test-renderer/lib/shallow/instantiateReactComponent'>;
|
||||
}
|
||||
@ -1389,6 +1407,9 @@ declare module 'react-test-renderer/lib/shallow/KeyEscapeUtils.js' {
|
||||
declare module 'react-test-renderer/lib/shallow/LinkedValueUtils.js' {
|
||||
declare module.exports: $Exports<'react-test-renderer/lib/shallow/LinkedValueUtils'>;
|
||||
}
|
||||
declare module 'react-test-renderer/lib/shallow/lowPriorityWarning.js' {
|
||||
declare module.exports: $Exports<'react-test-renderer/lib/shallow/lowPriorityWarning'>;
|
||||
}
|
||||
declare module 'react-test-renderer/lib/shallow/PluginModuleType.js' {
|
||||
declare module.exports: $Exports<'react-test-renderer/lib/shallow/PluginModuleType'>;
|
||||
}
|
||||
|
4463
flow-typed/react-native.js
vendored
4463
flow-typed/react-native.js
vendored
File diff suppressed because it is too large
Load Diff
39
flow/react-navigation.js
vendored
39
flow/react-navigation.js
vendored
@ -1,39 +0,0 @@
|
||||
/**
|
||||
* React Navigation Flow library defintion
|
||||
*/
|
||||
|
||||
declare module 'react-navigation' {
|
||||
declare var createNavigationContainer: any;
|
||||
|
||||
declare var StateUtils: any;
|
||||
|
||||
declare var addNavigationHelpers: any;
|
||||
declare var NavigationActions: any;
|
||||
|
||||
declare var createNavigator: any;
|
||||
declare var StackNavigator: any;
|
||||
declare var TabNavigator: any;
|
||||
declare var DrawerNavigator: any;
|
||||
|
||||
declare var StackRouter: any;
|
||||
declare var TabRouter: any;
|
||||
|
||||
declare var Transitioner: any;
|
||||
|
||||
declare var CardStackTransitioner: any;
|
||||
declare var CardStack: any;
|
||||
declare var Card: any;
|
||||
|
||||
declare var Header: any;
|
||||
declare var HeaderTitle: any;
|
||||
declare var HeaderBackButton: any;
|
||||
|
||||
declare var DrawerView: any;
|
||||
declare var DrawerItems: any;
|
||||
|
||||
declare var TabView: any;
|
||||
declare var TabBarTop: any;
|
||||
declare var TabBarBottom: any;
|
||||
|
||||
declare var withNavigation: any;
|
||||
}
|
@ -74,14 +74,14 @@
|
||||
"eslint-plugin-jsx-a11y": "^6.0.2",
|
||||
"eslint-plugin-prettier": "^2.1.2",
|
||||
"eslint-plugin-react": "^7.1.0",
|
||||
"flow-bin": "^0.49.1",
|
||||
"flow-bin": "^0.51.0",
|
||||
"husky": "^0.14.3",
|
||||
"jest": "^20.0.4",
|
||||
"lint-staged": "^4.2.1",
|
||||
"prettier": "^1.5.3",
|
||||
"prettier-eslint": "^6.4.2",
|
||||
"react": "16.0.0-alpha.12",
|
||||
"react-native": "^0.45.1",
|
||||
"react-native": "^0.48.4",
|
||||
"react-native-vector-icons": "^4.2.0",
|
||||
"react-test-renderer": "^15.6.1"
|
||||
},
|
||||
|
@ -4,16 +4,12 @@ import React from 'react';
|
||||
|
||||
import type { TabScene } from './views/TabView/TabView';
|
||||
|
||||
import {
|
||||
Animated,
|
||||
type ViewProps,
|
||||
type TextProps,
|
||||
type StyleDefinition,
|
||||
type AnimatedViewStylePropTypes,
|
||||
} from 'react-native';
|
||||
import type { StyleObj } from 'react-native/Libraries/StyleSheet/StyleSheetTypes';
|
||||
|
||||
export type ViewStyleProp = $PropertyType<ViewProps, 'style'>;
|
||||
export type TextStyleProp = $PropertyType<TextProps, 'style'>;
|
||||
import { Animated, View, Text } from 'react-native';
|
||||
|
||||
export type ViewStyleProp = StyleObj;
|
||||
export type TextStyleProp = StyleObj;
|
||||
export type AnimatedViewStyleProp = $PropertyType<
|
||||
$PropertyType<Animated.View, 'props'>,
|
||||
'style'
|
||||
@ -386,9 +382,9 @@ export type NavigationScreenProp<S, A> = {
|
||||
};
|
||||
|
||||
export type NavigationNavigatorProps<O, S> = {
|
||||
navigation: NavigationProp<S, NavigationAction>,
|
||||
screenProps: *,
|
||||
navigationOptions: O,
|
||||
navigation?: NavigationProp<S, NavigationAction>,
|
||||
screenProps?: *,
|
||||
navigationOptions?: O,
|
||||
};
|
||||
|
||||
/**
|
||||
@ -452,7 +448,7 @@ export type NavigationSceneRendererProps = NavigationTransitionProps;
|
||||
export type NavigationTransitionSpec = {
|
||||
duration?: number,
|
||||
// An easing function from `Easing`.
|
||||
easing?: (t?: number) => number,
|
||||
easing?: (t: number) => number,
|
||||
// A timing function such as `Animated.timing`.
|
||||
timing?: (value: Animated.Value, config: any) => any,
|
||||
};
|
||||
@ -468,7 +464,7 @@ export type TransitionConfig = {
|
||||
screenInterpolator?: (props: NavigationSceneRendererProps) => {},
|
||||
// The style of the container. Useful when a scene doesn't have
|
||||
// 100% opacity and the underlying container is visible.
|
||||
containerStyle?: $PropertyType<ViewProps, 'style'>,
|
||||
containerStyle?: ViewStyleProp,
|
||||
};
|
||||
|
||||
export type NavigationAnimationSetter = (
|
||||
@ -481,7 +477,7 @@ export type NavigationSceneRenderer = () => ?React.Element<*>;
|
||||
|
||||
export type NavigationStyleInterpolator = (
|
||||
props: NavigationSceneRendererProps
|
||||
) => AnimatedViewStylePropTypes;
|
||||
) => AnimatedViewStyleProp;
|
||||
|
||||
export type LayoutEvent = {
|
||||
nativeEvent: {
|
||||
|
@ -37,7 +37,7 @@ const DefaultDrawerConfig = {
|
||||
|
||||
const DrawerNavigator = (
|
||||
routeConfigs: NavigationRouteConfigMap,
|
||||
config: DrawerNavigatorConfig
|
||||
config: DrawerNavigatorConfig = {}
|
||||
) => {
|
||||
const mergedConfig = { ...DefaultDrawerConfig, ...config };
|
||||
const {
|
||||
@ -80,7 +80,7 @@ const DrawerNavigator = (
|
||||
routeConfigs,
|
||||
config,
|
||||
NavigatorTypes.DRAWER
|
||||
)((props: *) =>
|
||||
)((props: *) => (
|
||||
<DrawerView
|
||||
{...props}
|
||||
drawerLockMode={drawerLockMode}
|
||||
@ -90,7 +90,7 @@ const DrawerNavigator = (
|
||||
contentOptions={contentOptions}
|
||||
drawerPosition={drawerPosition}
|
||||
/>
|
||||
);
|
||||
));
|
||||
|
||||
return createNavigationContainer(navigator);
|
||||
};
|
||||
|
@ -44,7 +44,7 @@ export default (
|
||||
routeConfigMap,
|
||||
stackConfig,
|
||||
NavigatorTypes.STACK
|
||||
)((props: *) =>
|
||||
)((props: *) => (
|
||||
<CardStackTransitioner
|
||||
{...props}
|
||||
headerMode={headerMode}
|
||||
@ -54,7 +54,7 @@ export default (
|
||||
onTransitionStart={onTransitionStart}
|
||||
onTransitionEnd={onTransitionEnd}
|
||||
/>
|
||||
);
|
||||
));
|
||||
|
||||
return createNavigationContainer(navigator);
|
||||
};
|
||||
|
@ -47,7 +47,7 @@ const TabNavigator = (
|
||||
routeConfigs,
|
||||
config,
|
||||
NavigatorTypes.TABS
|
||||
)((props: *) =>
|
||||
)((props: *) => (
|
||||
<TabView
|
||||
{...props}
|
||||
tabBarComponent={tabBarComponent}
|
||||
@ -57,7 +57,7 @@ const TabNavigator = (
|
||||
animationEnabled={animationEnabled}
|
||||
lazy={lazy}
|
||||
/>
|
||||
);
|
||||
));
|
||||
|
||||
return createNavigationContainer(navigator);
|
||||
};
|
||||
|
@ -16,9 +16,9 @@ import type { NavigatorType } from './NavigatorTypes';
|
||||
*/
|
||||
export default function createNavigator<C: *, S, A, NavigatorConfig, Options>(
|
||||
router: NavigationRouter<S, A, Options>,
|
||||
routeConfigs: NavigationRouteConfigMap,
|
||||
navigatorConfig: NavigatorConfig,
|
||||
navigatorType: NavigatorType
|
||||
routeConfigs?: NavigationRouteConfigMap,
|
||||
navigatorConfig?: NavigatorConfig,
|
||||
navigatorType?: NavigatorType
|
||||
) {
|
||||
return (
|
||||
NavigationView: ReactClass<C>
|
||||
|
2
src/react-navigation.js
vendored
2
src/react-navigation.js
vendored
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* @noflow - get/set properties not yet supported by flow. also `...require(x)` is broken #6560135
|
||||
* @flow
|
||||
*/
|
||||
|
||||
/* eslint global-require: 0 */
|
||||
|
@ -124,10 +124,10 @@ export default (
|
||||
const params = (route.params ||
|
||||
action.params ||
|
||||
initialRouteParams) && {
|
||||
...(route.params || {}),
|
||||
...(action.params || {}),
|
||||
...(initialRouteParams || {}),
|
||||
};
|
||||
...(route.params || {}),
|
||||
...(action.params || {}),
|
||||
...(initialRouteParams || {}),
|
||||
};
|
||||
route = {
|
||||
...route,
|
||||
routeName: initialRouteName,
|
||||
|
@ -1,8 +1,11 @@
|
||||
/* @flow */
|
||||
|
||||
import { I18nManager, type AnimatedViewStylePropTypes } from 'react-native';
|
||||
import { I18nManager } from 'react-native';
|
||||
|
||||
import type { NavigationSceneRendererProps } from '../../TypeDefinition';
|
||||
import type {
|
||||
NavigationSceneRendererProps,
|
||||
AnimatedViewStyleProp,
|
||||
} from '../../TypeDefinition';
|
||||
|
||||
/**
|
||||
* Utility that builds the style for the card in the cards stack.
|
||||
@ -24,7 +27,7 @@ import type { NavigationSceneRendererProps } from '../../TypeDefinition';
|
||||
*/
|
||||
function forInitial(
|
||||
props: NavigationSceneRendererProps
|
||||
): AnimatedViewStylePropTypes {
|
||||
): AnimatedViewStyleProp {
|
||||
const { navigation, scene } = props;
|
||||
|
||||
const focused = navigation.state.index === scene.index;
|
||||
@ -42,7 +45,7 @@ function forInitial(
|
||||
*/
|
||||
function forHorizontal(
|
||||
props: NavigationSceneRendererProps
|
||||
): AnimatedViewStylePropTypes {
|
||||
): AnimatedViewStyleProp {
|
||||
const { layout, position, scene } = props;
|
||||
|
||||
if (!layout.isMeasured) {
|
||||
@ -87,7 +90,7 @@ function forHorizontal(
|
||||
*/
|
||||
function forVertical(
|
||||
props: NavigationSceneRendererProps
|
||||
): AnimatedViewStylePropTypes {
|
||||
): AnimatedViewStyleProp {
|
||||
const { layout, position, scene } = props;
|
||||
|
||||
if (!layout.isMeasured) {
|
||||
@ -125,7 +128,7 @@ function forVertical(
|
||||
*/
|
||||
function forFadeFromBottomAndroid(
|
||||
props: NavigationSceneRendererProps
|
||||
): AnimatedViewStylePropTypes {
|
||||
): AnimatedViewStyleProp {
|
||||
const { layout, position, scene } = props;
|
||||
|
||||
if (!layout.isMeasured) {
|
||||
|
@ -46,7 +46,7 @@ const DrawerNavigatorItems = ({
|
||||
onItemPress,
|
||||
style,
|
||||
labelStyle,
|
||||
}: Props) =>
|
||||
}: Props) => (
|
||||
<View style={[styles.container, style]}>
|
||||
{items.map((route: NavigationRoute, index: number) => {
|
||||
const focused = activeItemKey === route.key;
|
||||
@ -66,23 +66,22 @@ const DrawerNavigatorItems = ({
|
||||
delayPressIn={0}
|
||||
>
|
||||
<View style={[styles.item, { backgroundColor }]}>
|
||||
{icon
|
||||
? <View
|
||||
style={[styles.icon, focused ? null : styles.inactiveIcon]}
|
||||
>
|
||||
{icon}
|
||||
</View>
|
||||
: null}
|
||||
{typeof label === 'string'
|
||||
? <Text style={[styles.label, { color }, labelStyle]}>
|
||||
{label}
|
||||
</Text>
|
||||
: label}
|
||||
{icon ? (
|
||||
<View style={[styles.icon, focused ? null : styles.inactiveIcon]}>
|
||||
{icon}
|
||||
</View>
|
||||
) : null}
|
||||
{typeof label === 'string' ? (
|
||||
<Text style={[styles.label, { color }, labelStyle]}>{label}</Text>
|
||||
) : (
|
||||
label
|
||||
)}
|
||||
</View>
|
||||
</TouchableItem>
|
||||
);
|
||||
})}
|
||||
</View>;
|
||||
</View>
|
||||
);
|
||||
|
||||
/* Material design specs - https://material.io/guidelines/patterns/navigation-drawer.html#navigation-drawer-specs */
|
||||
DrawerNavigatorItems.defaultProps = {
|
||||
|
@ -30,12 +30,12 @@ export type DrawerItem = {
|
||||
|
||||
export type DrawerViewConfig = {
|
||||
drawerLockMode?: 'unlocked' | 'locked-closed' | 'locked-open',
|
||||
drawerWidth: number,
|
||||
drawerPosition: 'left' | 'right',
|
||||
contentComponent: ReactClass<*>,
|
||||
drawerWidth?: number,
|
||||
drawerPosition?: 'left' | 'right',
|
||||
contentComponent?: ReactClass<*>,
|
||||
contentOptions?: {},
|
||||
style?: ViewStyleProp,
|
||||
useNativeAnimations: boolean,
|
||||
useNativeAnimations?: boolean,
|
||||
};
|
||||
|
||||
type Props = DrawerViewConfig & {
|
||||
@ -123,7 +123,7 @@ export default class DrawerView<T: *> extends PureComponent<void, Props, void> {
|
||||
return navigationState;
|
||||
};
|
||||
|
||||
_renderNavigationView = () =>
|
||||
_renderNavigationView = () => (
|
||||
<DrawerSidebar
|
||||
screenProps={this.props.screenProps}
|
||||
navigation={this._screenNavigationProp}
|
||||
@ -131,7 +131,8 @@ export default class DrawerView<T: *> extends PureComponent<void, Props, void> {
|
||||
contentComponent={this.props.contentComponent}
|
||||
contentOptions={this.props.contentOptions}
|
||||
style={this.props.style}
|
||||
/>;
|
||||
/>
|
||||
);
|
||||
|
||||
_drawer: any;
|
||||
|
||||
|
@ -289,9 +289,7 @@ class Header extends React.PureComponent<void, HeaderProps, HeaderState> {
|
||||
|
||||
return (
|
||||
<Animated.View {...rest} style={[styles.container, headerStyle, style]}>
|
||||
<View style={styles.appBar}>
|
||||
{appBar}
|
||||
</View>
|
||||
<View style={styles.appBar}>{appBar}</View>
|
||||
</Animated.View>
|
||||
);
|
||||
}
|
||||
|
@ -97,18 +97,19 @@ class HeaderBackButton extends React.PureComponent<DefaultProps, Props, State> {
|
||||
source={asset}
|
||||
/>
|
||||
{Platform.OS === 'ios' &&
|
||||
title &&
|
||||
<Text
|
||||
onLayout={this._onTextLayout}
|
||||
style={[
|
||||
styles.title,
|
||||
!!tintColor && { color: tintColor },
|
||||
titleStyle,
|
||||
]}
|
||||
numberOfLines={1}
|
||||
>
|
||||
{backButtonTitle}
|
||||
</Text>}
|
||||
title && (
|
||||
<Text
|
||||
onLayout={this._onTextLayout}
|
||||
style={[
|
||||
styles.title,
|
||||
!!tintColor && { color: tintColor },
|
||||
titleStyle,
|
||||
]}
|
||||
numberOfLines={1}
|
||||
>
|
||||
{backButtonTitle}
|
||||
</Text>
|
||||
)}
|
||||
</View>
|
||||
</TouchableItem>
|
||||
);
|
||||
|
@ -1,11 +1,6 @@
|
||||
/* @flow */
|
||||
|
||||
import {
|
||||
I18nManager,
|
||||
Animated,
|
||||
type StyleDefinition,
|
||||
type AnimatedViewStylePropTypes,
|
||||
} from 'react-native';
|
||||
import { I18nManager } from 'react-native';
|
||||
|
||||
import type {
|
||||
NavigationSceneRendererProps,
|
||||
@ -23,9 +18,7 @@ import type {
|
||||
* +-------------+-------------+-------------+
|
||||
*/
|
||||
|
||||
function forLeft(
|
||||
props: NavigationSceneRendererProps
|
||||
): AnimatedViewStylePropTypes {
|
||||
function forLeft(props: NavigationSceneRendererProps): AnimatedViewStyleProp {
|
||||
const { position, scene } = props;
|
||||
const { index } = scene;
|
||||
return {
|
||||
@ -36,9 +29,7 @@ function forLeft(
|
||||
};
|
||||
}
|
||||
|
||||
function forCenter(
|
||||
props: NavigationSceneRendererProps
|
||||
): AnimatedViewStylePropTypes {
|
||||
function forCenter(props: NavigationSceneRendererProps): AnimatedViewStyleProp {
|
||||
const { position, scene } = props;
|
||||
const { index } = scene;
|
||||
return {
|
||||
@ -59,9 +50,7 @@ function forCenter(
|
||||
};
|
||||
}
|
||||
|
||||
function forRight(
|
||||
props: NavigationSceneRendererProps
|
||||
): AnimatedViewStylePropTypes {
|
||||
function forRight(props: NavigationSceneRendererProps): AnimatedViewStyleProp {
|
||||
const { position, scene } = props;
|
||||
const { index } = scene;
|
||||
return {
|
||||
|
@ -17,13 +17,14 @@ type Props = {
|
||||
|
||||
const AnimatedText = Animated.Text;
|
||||
|
||||
const HeaderTitle = ({ style, ...rest }: Props) =>
|
||||
const HeaderTitle = ({ style, ...rest }: Props) => (
|
||||
<AnimatedText
|
||||
numberOfLines={1}
|
||||
{...rest}
|
||||
style={[styles.title, style]}
|
||||
accessibilityTraits="header"
|
||||
/>;
|
||||
/>
|
||||
);
|
||||
|
||||
const styles = StyleSheet.create({
|
||||
title: {
|
||||
|
@ -75,9 +75,7 @@ export default class TouchableItem extends Component<
|
||||
}
|
||||
|
||||
return (
|
||||
<TouchableOpacity {...this.props}>
|
||||
{this.props.children}
|
||||
</TouchableOpacity>
|
||||
<TouchableOpacity {...this.props}>{this.props.children}</TouchableOpacity>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
@ -4,21 +4,26 @@ import React from 'react';
|
||||
import propTypes from 'prop-types';
|
||||
import hoistStatics from 'hoist-non-react-statics';
|
||||
|
||||
import type { NavigationState, NavigationAction } from '../TypeDefinition';
|
||||
import type {
|
||||
NavigationScreenProp,
|
||||
NavigationState,
|
||||
NavigationAction,
|
||||
} from '../TypeDefinition';
|
||||
|
||||
type Context = {
|
||||
navigation: InjectedProps<NavigationState, NavigationAction>,
|
||||
navigation: NavigationScreenProp<NavigationState, NavigationAction>,
|
||||
};
|
||||
|
||||
type InjectedProps = {
|
||||
navigation: InjectedProps<NavigationState, NavigationAction>,
|
||||
navigation: NavigationScreenProp<NavigationState, NavigationAction>,
|
||||
};
|
||||
|
||||
export default function withNavigation<T: *>(
|
||||
Component: ReactClass<T & InjectedProps>
|
||||
) {
|
||||
const componentWithNavigation = (props: T, { navigation }: Context) =>
|
||||
<Component {...props} navigation={navigation} />;
|
||||
const componentWithNavigation = (props: T, { navigation }: Context) => (
|
||||
<Component {...props} navigation={navigation} />
|
||||
);
|
||||
|
||||
componentWithNavigation.displayName = `withNavigation(${Component.displayName ||
|
||||
Component.name})`;
|
||||
|
@ -15,7 +15,7 @@ import {
|
||||
createNavigator,
|
||||
} from 'react-navigation';
|
||||
|
||||
import type { NavigationScreenComponent } from 'react-navigation';
|
||||
import type { NavigationScreenComponent } from 'react-navigation/src/TypeDefinition';
|
||||
|
||||
type ScreenOptions = {
|
||||
linkName: string,
|
||||
@ -371,10 +371,11 @@ const BlogPage = createNavigator(
|
||||
})
|
||||
)(PageWithSidebar);
|
||||
|
||||
const NotFoundError = () =>
|
||||
const NotFoundError = () => (
|
||||
<div className="errorScreen">
|
||||
<h1>Page not found</h1>
|
||||
</div>;
|
||||
</div>
|
||||
);
|
||||
|
||||
const App = createNavigator(
|
||||
TabRouter({
|
||||
|
@ -35,11 +35,7 @@ const NavigationLinks = ({ navigation, className, reverse }) => {
|
||||
if (reverse) {
|
||||
links = links.reverse();
|
||||
}
|
||||
return (
|
||||
<div className={className}>
|
||||
{links}
|
||||
</div>
|
||||
);
|
||||
return <div className={className}>{links}</div>;
|
||||
};
|
||||
|
||||
class AppFrame extends React.Component {
|
||||
@ -82,7 +78,7 @@ class AppFrame extends React.Component {
|
||||
|
||||
<NavigationLinks navigation={navigation} className="navbuttons" />
|
||||
|
||||
{hasChildNavigation &&
|
||||
{hasChildNavigation && (
|
||||
<span
|
||||
className={`pt-icon-properties openMenuButton ${isMobileMenuOpen
|
||||
? 'active'
|
||||
@ -93,7 +89,8 @@ class AppFrame extends React.Component {
|
||||
}));
|
||||
window.scrollTo(0, 0);
|
||||
}}
|
||||
/>}
|
||||
/>
|
||||
)}
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
|
@ -2,13 +2,14 @@ import React from 'react';
|
||||
import Prism from 'prismjs';
|
||||
import 'prismjs/components/prism-jsx';
|
||||
|
||||
const CodeBlock = ({ code }) =>
|
||||
const CodeBlock = ({ code }) => (
|
||||
<pre>
|
||||
<code
|
||||
dangerouslySetInnerHTML={{
|
||||
__html: Prism.highlight(code, Prism.languages.jsx),
|
||||
}}
|
||||
/>
|
||||
</pre>;
|
||||
</pre>
|
||||
);
|
||||
|
||||
export default CodeBlock;
|
||||
|
@ -1,6 +1,6 @@
|
||||
import React from 'react';
|
||||
|
||||
const Footer = () =>
|
||||
const Footer = () => (
|
||||
<div className="footer">
|
||||
<div className="inner-footer">
|
||||
<section className="copyright">
|
||||
@ -13,6 +13,7 @@ const Footer = () =>
|
||||
</a>
|
||||
</section>
|
||||
</div>
|
||||
</div>;
|
||||
</div>
|
||||
);
|
||||
|
||||
export default Footer;
|
||||
|
@ -6,13 +6,14 @@ import CodeBlock from './CodeBlock';
|
||||
|
||||
import Link from './Link';
|
||||
|
||||
const GettingStartedButton = () =>
|
||||
const GettingStartedButton = () => (
|
||||
<div className="cta-row">
|
||||
<Link className="cta" to="GettingStarted">
|
||||
<span className="label">Get Started</span>
|
||||
<span className="icon pt-icon-arrow-right" />
|
||||
</Link>
|
||||
</div>;
|
||||
</div>
|
||||
);
|
||||
|
||||
const ExampleCodeBrowser = (config, ExampleFiles) => {
|
||||
const fileNames = Object.keys(ExampleFiles);
|
||||
|
@ -33,7 +33,7 @@ const getHeadingForLevel = level => {
|
||||
}
|
||||
};
|
||||
|
||||
const MDPage = ({ navigation, docPath }) =>
|
||||
const MDPage = ({ navigation, docPath }) => (
|
||||
<Markdown
|
||||
source={DocsMD[docPath]}
|
||||
className="md-section"
|
||||
@ -79,13 +79,10 @@ const MDPage = ({ navigation, docPath }) =>
|
||||
if (href.indexOf('PhoneGraphic:') === 0) {
|
||||
const graphicName = href.split('PhoneGraphic:')[1];
|
||||
}
|
||||
return (
|
||||
<Link href={href}>
|
||||
{children}
|
||||
</Link>
|
||||
);
|
||||
return <Link href={href}>{children}</Link>;
|
||||
},
|
||||
}}
|
||||
/>;
|
||||
/>
|
||||
);
|
||||
|
||||
export default MDPage;
|
||||
|
@ -85,9 +85,7 @@ class PageWithSidebar extends Component {
|
||||
(isActive ? 'active' : '')
|
||||
}
|
||||
>
|
||||
<h6>
|
||||
{options.linkName}
|
||||
</h6>
|
||||
<h6>{options.linkName}</h6>
|
||||
</LinkableLi>
|
||||
<div>
|
||||
{route.routes &&
|
||||
@ -130,21 +128,21 @@ class PageWithSidebar extends Component {
|
||||
<div className="main-section">
|
||||
<ActiveScreen navigation={this.props.navigation} />
|
||||
<hr />
|
||||
{state.routeName === 'Docs' &&
|
||||
{state.routeName === 'Docs' && (
|
||||
<Link
|
||||
href={`https://github.com/react-community/react-navigation/tree/master/docs/${docPath}`}
|
||||
className="editLink"
|
||||
>
|
||||
{' '}Edit on GitHub
|
||||
</Link>}
|
||||
{prevAction &&
|
||||
<Link to={prevAction}>
|
||||
Previous: {prevName}
|
||||
</Link>}
|
||||
{nextAction &&
|
||||
{' '}
|
||||
Edit on GitHub
|
||||
</Link>
|
||||
)}
|
||||
{prevAction && <Link to={prevAction}>Previous: {prevName}</Link>}
|
||||
{nextAction && (
|
||||
<Link to={nextAction} className="nextLink">
|
||||
Next: {nextName}
|
||||
</Link>}
|
||||
</Link>
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user