From dcc5de6f51665705341aab66c25b82cd3ac9bc86 Mon Sep 17 00:00:00 2001 From: MrEfrem Date: Thu, 1 Dec 2016 00:14:29 +0400 Subject: [PATCH] Add source files in lib and es directory with flow annotations. Add flow-typed directory with flow types of dependencies. Update README and API. --- .eslintrc | 6 +- .flowconfig | 3 + README.md | 2 +- __tests__/createReducer.test.js | 58 +- __tests__/enhanceStore.test.js | 6 +- __tests__/registerReducers.test.js | 24 +- docs/API.md | 8 +- examples/async/src/index.js | 2 +- examples/counter/src/index.js | 2 +- .../nested_reused_components/src/index.js | 2 +- examples/reused_components/src/index.js | 2 +- examples/universal/server/render.js | 2 +- examples/universal/src/index.js | 2 +- flow-typed/npm/babel-cli_vx.x.x.js | 108 + flow-typed/npm/babel-eslint_vx.x.x.js | 73 + flow-typed/npm/babel-jest_vx.x.x.js | 32 + flow-typed/npm/babel-loader_vx.x.x.js | 67 + .../babel-plugin-transform-runtime_vx.x.x.js | 39 + flow-typed/npm/babel-preset-latest_vx.x.x.js | 32 + flow-typed/npm/babel-preset-react_vx.x.x.js | 32 + flow-typed/npm/babel-preset-stage-2_vx.x.x.js | 32 + flow-typed/npm/cross-env_vx.x.x.js | 74 + flow-typed/npm/enzyme_v2.3.x.js | 79 + .../eslint-plugin-flowtype-errors_vx.x.x.js | 59 + .../npm/eslint-plugin-flowtype_vx.x.x.js | 319 +++ flow-typed/npm/eslint-plugin-import_vx.x.x.js | 326 +++ flow-typed/npm/eslint-plugin-react_vx.x.x.js | 458 ++++ flow-typed/npm/eslint_vx.x.x.js | 2146 +++++++++++++++++ flow-typed/npm/flow-bin_v0.x.x.js | 6 + flow-typed/npm/jest-cli_vx.x.x.js | 200 ++ flow-typed/npm/lodash_v4.x.x.js | 496 ++++ .../npm/react-addons-test-utils_v15.x.x.js | 28 + flow-typed/npm/react-redux_v4.x.x.js | 89 + flow-typed/npm/react-test-renderer_vx.x.x.js | 598 +++++ flow-typed/npm/redux_v3.x.x.js | 56 + flow-typed/npm/rimraf_vx.x.x.js | 39 + .../npm/webpack-bundle-analyzer_vx.x.x.js | 151 ++ flow-typed/npm/webpack_vx.x.x.js | 1523 ++++++++++++ package.json | 7 +- src/createReducer.js | 7 +- src/enhanceStore.js | 6 +- src/registerReducers.js | 7 +- src/types.js | 7 + 43 files changed, 7147 insertions(+), 68 deletions(-) create mode 100644 flow-typed/npm/babel-cli_vx.x.x.js create mode 100644 flow-typed/npm/babel-eslint_vx.x.x.js create mode 100644 flow-typed/npm/babel-jest_vx.x.x.js create mode 100644 flow-typed/npm/babel-loader_vx.x.x.js create mode 100644 flow-typed/npm/babel-plugin-transform-runtime_vx.x.x.js create mode 100644 flow-typed/npm/babel-preset-latest_vx.x.x.js create mode 100644 flow-typed/npm/babel-preset-react_vx.x.x.js create mode 100644 flow-typed/npm/babel-preset-stage-2_vx.x.x.js create mode 100644 flow-typed/npm/cross-env_vx.x.x.js create mode 100644 flow-typed/npm/enzyme_v2.3.x.js create mode 100644 flow-typed/npm/eslint-plugin-flowtype-errors_vx.x.x.js create mode 100644 flow-typed/npm/eslint-plugin-flowtype_vx.x.x.js create mode 100644 flow-typed/npm/eslint-plugin-import_vx.x.x.js create mode 100644 flow-typed/npm/eslint-plugin-react_vx.x.x.js create mode 100644 flow-typed/npm/eslint_vx.x.x.js create mode 100644 flow-typed/npm/flow-bin_v0.x.x.js create mode 100644 flow-typed/npm/jest-cli_vx.x.x.js create mode 100644 flow-typed/npm/lodash_v4.x.x.js create mode 100644 flow-typed/npm/react-addons-test-utils_v15.x.x.js create mode 100644 flow-typed/npm/react-redux_v4.x.x.js create mode 100644 flow-typed/npm/react-test-renderer_vx.x.x.js create mode 100644 flow-typed/npm/redux_v3.x.x.js create mode 100644 flow-typed/npm/rimraf_vx.x.x.js create mode 100644 flow-typed/npm/webpack-bundle-analyzer_vx.x.x.js create mode 100644 flow-typed/npm/webpack_vx.x.x.js create mode 100644 src/types.js diff --git a/.eslintrc b/.eslintrc index ab599f0..b6a0859 100644 --- a/.eslintrc +++ b/.eslintrc @@ -7,13 +7,15 @@ "es6": true }, "plugins": [ - "react" + "react", + "flowtype" ], "extends": [ "eslint:recommended", "plugin:import/errors", "plugin:import/warnings", - "plugin:react/recommended" + "plugin:react/recommended", + "plugin:flowtype/recommended" ], "rules": { "indent": [2, 2, { diff --git a/.flowconfig b/.flowconfig index e69de29..29a4217 100644 --- a/.flowconfig +++ b/.flowconfig @@ -0,0 +1,3 @@ +[libs] +flow-typed + diff --git a/README.md b/README.md index a0c9921..ec90156 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ import { Provider } from 'react-redux'; import { enhanceStore } from 'redux-fly'; import Counter from './Counter'; -const store = createStore(null, enhanceStore); +const store = createStore(() => {}, enhanceStore); export default () => ( diff --git a/__tests__/createReducer.test.js b/__tests__/createReducer.test.js index 0aefde2..8a0efdd 100644 --- a/__tests__/createReducer.test.js +++ b/__tests__/createReducer.test.js @@ -120,7 +120,7 @@ test('Test valid init component with provide is pure redux store', () => { }) test('Test valid init component with provide enhanced redux store', () => { - const store = createStore(null, enhanceStore) + const store = createStore(() => {}, enhanceStore) const Component = (props) => (
@@ -151,7 +151,7 @@ test('Test valid init component with provide enhanced redux store', () => { }) test('Test passed mounting path in Component', () => { - const store = createStore(null, enhanceStore) + const store = createStore(() => {}, enhanceStore) const Component = (props) => (
{props.reduxMountPath}
@@ -170,7 +170,7 @@ test('Test passed mounting path in Component', () => { }) test('Test passed mounting path in createReducer and in Component', () => { - const store = createStore(null, enhanceStore) + const store = createStore(() => {}, enhanceStore) const Component = (props) => (
{props.reduxMountPath}
@@ -191,7 +191,7 @@ test('Test passed mounting path in createReducer and in Component', () => { }) test('Test passed persist in createReducer', () => { - const store = createStore(null, enhanceStore) + const store = createStore(() => {}, enhanceStore) const Component = (props) => (
{props.reduxPersist.toString()}
@@ -210,7 +210,7 @@ test('Test passed persist in createReducer', () => { }) test('Test passed persist in Component', () => { - const store = createStore(null, enhanceStore) + const store = createStore(() => {}, enhanceStore) const Component = (props) => (
{props.reduxPersist.toString()}
@@ -229,7 +229,7 @@ test('Test passed persist in Component', () => { }) test('Test passed persist in createReducer and Component', () => { - const store = createStore(null, enhanceStore) + const store = createStore(() => {}, enhanceStore) const Component = (props) => (
{props.reduxPersist.toString()}
@@ -248,7 +248,7 @@ test('Test passed persist in createReducer and Component', () => { }) test('Test initialState is function', () => { - const store = createStore(null, enhanceStore) + const store = createStore(() => {}, enhanceStore) const Component = (props) => (
{JSON.stringify(props.reduxState)}
@@ -267,7 +267,7 @@ test('Test initialState is function', () => { }) test('Test listenActions', () => { - const store = createStore(null, enhanceStore) + const store = createStore(() => {}, enhanceStore) const UPDATE_TODO = 'UPDATE_TODO' class Component extends React.Component { @@ -303,7 +303,7 @@ test('Test listenActions', () => { }) test('Test listenActions is function', () => { - const store = createStore(null, enhanceStore) + const store = createStore(() => {}, enhanceStore) const UPDATE_TODO = 'UPDATE_TODO' class Component extends React.Component { @@ -341,7 +341,7 @@ test('Test listenActions is function', () => { }) test('Test listenActions is function in reusable component', () => { - const store = createStore(null, enhanceStore) + const store = createStore(() => {}, enhanceStore) const UPDATE_TODO = 'UPDATE_TODO' class Component extends React.Component { @@ -379,7 +379,7 @@ test('Test listenActions is function in reusable component', () => { }) test('Test connectToStore: false', () => { - const store = createStore(null, enhanceStore) + const store = createStore(() => {}, enhanceStore) const Component = (props) => (
{JSON.stringify(props.reduxState)}
@@ -402,7 +402,7 @@ test('Test connectToStore: false', () => { }) test('Test reset state (persist = false) after unmounting component', async () => { - const store = createStore(null, enhanceStore) + const store = createStore(() => {}, enhanceStore) class Component extends React.Component { componentDidMount() { @@ -435,7 +435,7 @@ test('Test reset state (persist = false) after unmounting component', async () = }) test('Test preserved state (persist = true) after unmounting component', () => { - const store = createStore(null, enhanceStore) + const store = createStore(() => {}, enhanceStore) class Component extends React.Component { componentDidMount() { @@ -475,7 +475,7 @@ test('Test empty (default) actionPrefix', () => { expect(action.type).toBe('ui component/@@UPDATE-TODO') } } - const store = createStore(null, compose(applyMiddleware(middleware), enhanceStore)) + const store = createStore(() => {}, compose(applyMiddleware(middleware), enhanceStore)) class Component extends React.Component { componentDidMount() { @@ -510,7 +510,7 @@ test('Test empty (default) actionPrefix', () => { }) test('Test filled actionPrefix in createReducer', () => { - const store = createStore(null, enhanceStore) + const store = createStore(() => {}, enhanceStore) const Component = ({ reduxActionPrefix }) => { return
{reduxActionPrefix}
@@ -533,7 +533,7 @@ test('Test filled actionPrefix in createReducer', () => { }) test('Test filled actionPrefix in component', () => { - const store = createStore(null, enhanceStore) + const store = createStore(() => {}, enhanceStore) const Component = ({ reduxActionPrefix }) => { return
{reduxActionPrefix}
@@ -555,7 +555,7 @@ test('Test filled actionPrefix in component', () => { }) test('Test filled actionPrefix in component and createReducer', () => { - const store = createStore(null, enhanceStore) + const store = createStore(() => {}, enhanceStore) const Component = ({ reduxActionPrefix }) => { return
{reduxActionPrefix}
@@ -578,7 +578,7 @@ test('Test filled actionPrefix in component and createReducer', () => { }) test('Test reduxResetState', () => { - const store = createStore(null, enhanceStore) + const store = createStore(() => {}, enhanceStore) class Component extends React.Component { componentDidMount() { @@ -626,7 +626,7 @@ test('Test reduxResetState', () => { }) test('Test signature reduxSetState', () => { - const store = createStore(null, enhanceStore) + const store = createStore(() => {}, enhanceStore) class Component extends React.Component { componentDidMount() { @@ -659,7 +659,7 @@ test('Test signature reduxSetState', () => { }) test('Test reduxSetState', () => { - const store = createStore(null, enhanceStore) + const store = createStore(() => {}, enhanceStore) let numRender = 0 class Component extends React.Component { componentDidMount() { @@ -706,7 +706,7 @@ test('Test reduxSetState', () => { }) test('Test replace native state to redux state', () => { - const store = createStore(null, enhanceStore) + const store = createStore(() => {}, enhanceStore) class Component extends React.Component { constructor(props) { @@ -751,7 +751,7 @@ test('Test replace native state to redux state', () => { }) test('Test is valid re-create of reducer', () => { - const store = createStore(null, enhanceStore) + const store = createStore(() => {}, enhanceStore) const Component = () =>
const ExtendedComponent = createReducer({ mountPath: 'ui component', @@ -771,7 +771,7 @@ test('Test is valid re-create of reducer', () => { }) test('Test is invalid to create of reducer in same mounting path', () => { - const store = createStore(null, enhanceStore) + const store = createStore(() => {}, enhanceStore) const Component = ({ children }) =>
{children}
Component.propTypes = { children: PropTypes.element @@ -791,7 +791,7 @@ test('Test is invalid to create of reducer in same mounting path', () => { }) test('Test is invalid to create of reducer in partially same mounting path (1)', () => { - const store = createStore(null, enhanceStore) + const store = createStore(() => {}, enhanceStore) const Component = ({ children }) =>
{children}
Component.propTypes = { children: PropTypes.element @@ -816,7 +816,7 @@ test('Test is invalid to create of reducer in partially same mounting path (1)', }) test('Test is invalid to create of reducer in partially same mounting path (2)', () => { - const store = createStore(null, enhanceStore) + const store = createStore(() => {}, enhanceStore) const Component = ({ children }) =>
{children}
Component.propTypes = { children: PropTypes.element @@ -841,7 +841,7 @@ test('Test is invalid to create of reducer in partially same mounting path (2)', }) test('Test is valid to create of reducer after create of reducer', () => { - const store = createStore(null, enhanceStore) + const store = createStore(() => {}, enhanceStore) const Component = ({ children }) =>
{children || 'Last reducer'}
Component.propTypes = { children: PropTypes.element @@ -866,7 +866,7 @@ test('Test is valid to create of reducer after create of reducer', () => { }) test('Test is invalid to set the mountPath for reused component which contains in other reused component (reduxMountPath + mountPath)', () => { - const store = createStore(null, enhanceStore) + const store = createStore(() => {}, enhanceStore) const Component = ({ children }) =>
{children || 'Last reducer'}
Component.propTypes = { children: PropTypes.element @@ -890,7 +890,7 @@ test('Test is invalid to set the mountPath for reused component which contains i }) test('Test is invalid to set the mountPath for reused component which contains in other reused component (reduxMountPath + reduxMountPath)', () => { - const store = createStore(null, enhanceStore) + const store = createStore(() => {}, enhanceStore) const Component = ({ children }) =>
{children || 'Last reducer'}
Component.propTypes = { children: PropTypes.element @@ -914,7 +914,7 @@ test('Test is invalid to set the mountPath for reused component which contains i }) test('Test is valid to set the mountPath for reused component which contains in other reused component', () => { - const store = createStore(null, enhanceStore) + const store = createStore(() => {}, enhanceStore) const Component = ({ children, reduxMountPath }) =>
{children ? React.cloneElement(children, { reduxMountPath }) : 'Last reducer'}
Component.propTypes = { children: PropTypes.element, diff --git a/__tests__/enhanceStore.test.js b/__tests__/enhanceStore.test.js index a1135a9..95e9126 100644 --- a/__tests__/enhanceStore.test.js +++ b/__tests__/enhanceStore.test.js @@ -14,7 +14,7 @@ test('Test invalid signature', () => { }) test('Test invalid signature registerReducers', () => { - const store = createStore(null, enhanceStore) + const store = createStore(() => {}, enhanceStore) expect(store.registerReducers).toThrowError('Reducers must be non empty plain object') expect(store.registerReducers.bind(store, {})).toThrowError('Reducers must be non empty plain object') expect(store.registerReducers.bind(store, Object.create({ ui: () => {} }))).toThrowError('Reducers must be non empty plain object') @@ -23,7 +23,7 @@ test('Test invalid signature registerReducers', () => { }) test('Test registerReducers', () => { - const store = createStore(null, null, enhanceStore) + const store = createStore(() => {}, null, enhanceStore) const initialState1 = { text: 'My first todo' } const initialState2 = { text: 'My second todo' } const reducer1 = (state = initialState1, action) => { @@ -61,7 +61,7 @@ test('Test registerReducers', () => { test('Test createStore with preloadedState', () => { const preloadedState = { ui: { todo: { text: 'My second todo' } } } - const store = createStore(null, preloadedState, enhanceStore) + const store = createStore(() => {}, preloadedState, enhanceStore) const initialState = { text: 'My first todo' } const reducer = (state = initialState) => state store.registerReducers({ diff --git a/__tests__/registerReducers.test.js b/__tests__/registerReducers.test.js index fda8d7a..41d7983 100644 --- a/__tests__/registerReducers.test.js +++ b/__tests__/registerReducers.test.js @@ -46,7 +46,7 @@ test('Test invalid redux store', () => { test('Test reducers as function with provide enhanced redux store', () => { const Component = () =>
- const store = createStore(null, enhanceStore) + const store = createStore(() => {}, enhanceStore) const ExtendedComponent1 = registerReducers((props) => { expect(props.text).toBe('My first todo') @@ -78,7 +78,7 @@ test('Test reducers as function with provide enhanced redux store', () => { test('Test reducers as object with provide enhanced redux store', () => { const Component = () =>
- const store = createStore(null, enhanceStore) + const store = createStore(() => {}, enhanceStore) const ExtendedComponent = registerReducers({ 'ui component': () => ({ @@ -117,7 +117,7 @@ test('Test reducers as object without provide redux store', () => { }) test('Test reducers as object with provide is pure redux store', () => { - const store = createStore(null, enhanceStore) + const store = createStore(() => {}, enhanceStore) const Component = (undefined, { store }) => (
{JSON.stringify(store.getState())} @@ -143,7 +143,7 @@ test('Test reducers as object with provide is pure redux store', () => { }) test('Test calculated mountPath with passed reduxMountPath', () => { - const store = createStore(null, enhanceStore) + const store = createStore(() => {}, enhanceStore) const Component = (undefined, { store }) => (
{JSON.stringify(store.getState())}
) @@ -166,7 +166,7 @@ test('Test calculated mountPath with passed reduxMountPath', () => { }) test('Test is valid re-register of reducer', () => { - const store = createStore(null, enhanceStore) + const store = createStore(() => {}, enhanceStore) const Component = () =>
const ExtendedComponent = registerReducers({ 'ui component': () => ({}) @@ -185,7 +185,7 @@ test('Test is valid re-register of reducer', () => { }) test('Test is invalid to register of reducer in same mounting path', () => { - const store = createStore(null, enhanceStore) + const store = createStore(() => {}, enhanceStore) const Component = ({ children }) =>
{children}
Component.propTypes = { children: PropTypes.element @@ -204,7 +204,7 @@ test('Test is invalid to register of reducer in same mounting path', () => { }) test('Test is invalid to register of reducer in partially same mounting path (1)', () => { - const store = createStore(null, enhanceStore) + const store = createStore(() => {}, enhanceStore) const Component = ({ children }) =>
{children}
Component.propTypes = { children: PropTypes.element @@ -227,7 +227,7 @@ test('Test is invalid to register of reducer in partially same mounting path (1) }) test('Test is invalid to register of reducer in partially same mounting path (2)', () => { - const store = createStore(null, enhanceStore) + const store = createStore(() => {}, enhanceStore) const Component = ({ children }) =>
{children}
Component.propTypes = { children: PropTypes.element @@ -250,7 +250,7 @@ test('Test is invalid to register of reducer in partially same mounting path (2) }) test('Test is valid to register of reducer after register of reducer', () => { - const store = createStore(null, enhanceStore) + const store = createStore(() => {}, enhanceStore) const Component = ({ children }) =>
{children || 'Last reducer'}
Component.propTypes = { children: PropTypes.element @@ -273,7 +273,7 @@ test('Test is valid to register of reducer after register of reducer', () => { }) test('Test is invalid to set the mountPath for reused component which contains in other reused component (reduxMountPath + mountPath)', () => { - const store = createStore(null, enhanceStore) + const store = createStore(() => {}, enhanceStore) const Component = ({ children }) =>
{children || 'Last reducer'}
Component.propTypes = { children: PropTypes.element @@ -296,7 +296,7 @@ test('Test is invalid to set the mountPath for reused component which contains i }) test('Test is invalid to set the mountPath for reused component which contains in other reused component (reduxMountPath + reduxMountPath)', () => { - const store = createStore(null, enhanceStore) + const store = createStore(() => {}, enhanceStore) const Component = ({ children }) =>
{children || 'Last reducer'}
Component.propTypes = { children: PropTypes.element @@ -319,7 +319,7 @@ test('Test is invalid to set the mountPath for reused component which contains i }) test('Test is valid to set the mountPath for reused component which contains in other reused component', () => { - const store = createStore(null, enhanceStore) + const store = createStore(() => {}, enhanceStore) const Component = ({ children, reduxMountPath }) =>
{children ? React.cloneElement(children, { reduxMountPath }) : 'Last reducer'}
Component.propTypes = { children: PropTypes.element, diff --git a/docs/API.md b/docs/API.md index 03ffea0..d63c23b 100644 --- a/docs/API.md +++ b/docs/API.md @@ -45,7 +45,7 @@ import { Provider } from 'react-redux'; import { enhanceStore, createReducer } from 'redux-fly'; const composeEnhancers = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ || compose; -const store = createStore(null, composeEnhancers(enhanceStore)); +const store = createStore(() => {}, composeEnhancers(enhanceStore)); const Welcome = ({ reduxState: { text }, reduxSetState, reduxResetState }) => (
@@ -83,12 +83,12 @@ Creation of enhanced store: import { createStore } from 'redux'; import { enhanceStore } from 'redux-fly'; -const store = createStore(null, enhanceStore); +const store = createStore(() => {}, enhanceStore); ```
Creation of enhanced store with preloaded state received from server or saved in any storage: ```javascript -const store = createStore(null, window.__INITIAL_STATE__, enhanceStore); +const store = createStore(() => {}, window.__INITIAL_STATE__, enhanceStore); ```
Creation of enhanced store and reducers registration: @@ -111,7 +111,7 @@ Creation of enhanced store and registration of reducers later: import { createStore } from 'redux'; import { enhanceStore } from 'redux-fly'; -const store = createStore(null, enhanceStore); +const store = createStore(() => {}, enhanceStore); ... const reducer = (state, action) => { ... }; store.registerReducers({ 'ui component': reducer }); diff --git a/examples/async/src/index.js b/examples/async/src/index.js index 92dfb04..5f8275c 100644 --- a/examples/async/src/index.js +++ b/examples/async/src/index.js @@ -11,7 +11,7 @@ const composeEnhancers = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__({}) : compose -const store = createStore(null, composeEnhancers(enhanceStore, applyMiddleware(thunk))) +const store = createStore(() => {}, composeEnhancers(enhanceStore, applyMiddleware(thunk))) const target = document.getElementById('root') const render = (Component) => { try { diff --git a/examples/counter/src/index.js b/examples/counter/src/index.js index 896fa2a..4ee15e7 100644 --- a/examples/counter/src/index.js +++ b/examples/counter/src/index.js @@ -10,7 +10,7 @@ const composeEnhancers = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__({}) : compose -const store = createStore(null, composeEnhancers(enhanceStore)) +const store = createStore(() => {}, composeEnhancers(enhanceStore)) const target = document.getElementById('root') const render = (Component) => { try { diff --git a/examples/nested_reused_components/src/index.js b/examples/nested_reused_components/src/index.js index eab2e91..390d283 100644 --- a/examples/nested_reused_components/src/index.js +++ b/examples/nested_reused_components/src/index.js @@ -11,7 +11,7 @@ const composeEnhancers = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__({}) : compose -const store = createStore(null, composeEnhancers(enhanceStore)) +const store = createStore(() => {}, composeEnhancers(enhanceStore)) const target = document.getElementById('root') const render = (Component) => { try { diff --git a/examples/reused_components/src/index.js b/examples/reused_components/src/index.js index eab2e91..390d283 100644 --- a/examples/reused_components/src/index.js +++ b/examples/reused_components/src/index.js @@ -11,7 +11,7 @@ const composeEnhancers = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__({}) : compose -const store = createStore(null, composeEnhancers(enhanceStore)) +const store = createStore(() => {}, composeEnhancers(enhanceStore)) const target = document.getElementById('root') const render = (Component) => { try { diff --git a/examples/universal/server/render.js b/examples/universal/server/render.js index 7734c60..d245506 100644 --- a/examples/universal/server/render.js +++ b/examples/universal/server/render.js @@ -31,7 +31,7 @@ export default function* () { // eslint-disable-line const initialState = { counter: { value: counter } } // Create a new Redux store instance - const store = createStore(null, initialState, enhanceStore) + const store = createStore(() => {}, initialState, enhanceStore) // Delete the App component cache for live editing delete require.cache[require.resolve('../src/App')] diff --git a/examples/universal/src/index.js b/examples/universal/src/index.js index 17c7291..ed5fee3 100644 --- a/examples/universal/src/index.js +++ b/examples/universal/src/index.js @@ -11,7 +11,7 @@ const composeEnhancers = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__({}) : compose -const store = createStore(null, window.__PRELOADED_STATE__, composeEnhancers(enhanceStore)) +const store = createStore(() => {}, window.__PRELOADED_STATE__, composeEnhancers(enhanceStore)) const target = document.getElementById('root') const render = (Component) => { try { diff --git a/flow-typed/npm/babel-cli_vx.x.x.js b/flow-typed/npm/babel-cli_vx.x.x.js new file mode 100644 index 0000000..1a57546 --- /dev/null +++ b/flow-typed/npm/babel-cli_vx.x.x.js @@ -0,0 +1,108 @@ +// flow-typed signature: 21143f582d34814e14484d0b48468a2a +// flow-typed version: <>/babel-cli_v^6.14.0/flow_v0.36.0 + +/** + * This is an autogenerated libdef stub for: + * + * 'babel-cli' + * + * 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-cli' { + 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-cli/bin/babel-doctor' { + declare module.exports: any; +} + +declare module 'babel-cli/bin/babel-external-helpers' { + declare module.exports: any; +} + +declare module 'babel-cli/bin/babel-node' { + declare module.exports: any; +} + +declare module 'babel-cli/bin/babel' { + declare module.exports: any; +} + +declare module 'babel-cli/lib/_babel-node' { + declare module.exports: any; +} + +declare module 'babel-cli/lib/babel-external-helpers' { + declare module.exports: any; +} + +declare module 'babel-cli/lib/babel-node' { + declare module.exports: any; +} + +declare module 'babel-cli/lib/babel/dir' { + declare module.exports: any; +} + +declare module 'babel-cli/lib/babel/file' { + declare module.exports: any; +} + +declare module 'babel-cli/lib/babel/index' { + declare module.exports: any; +} + +declare module 'babel-cli/lib/babel/util' { + declare module.exports: any; +} + +// Filename aliases +declare module 'babel-cli/bin/babel-doctor.js' { + declare module.exports: $Exports<'babel-cli/bin/babel-doctor'>; +} +declare module 'babel-cli/bin/babel-external-helpers.js' { + declare module.exports: $Exports<'babel-cli/bin/babel-external-helpers'>; +} +declare module 'babel-cli/bin/babel-node.js' { + declare module.exports: $Exports<'babel-cli/bin/babel-node'>; +} +declare module 'babel-cli/bin/babel.js' { + declare module.exports: $Exports<'babel-cli/bin/babel'>; +} +declare module 'babel-cli/index' { + declare module.exports: $Exports<'babel-cli'>; +} +declare module 'babel-cli/index.js' { + declare module.exports: $Exports<'babel-cli'>; +} +declare module 'babel-cli/lib/_babel-node.js' { + declare module.exports: $Exports<'babel-cli/lib/_babel-node'>; +} +declare module 'babel-cli/lib/babel-external-helpers.js' { + declare module.exports: $Exports<'babel-cli/lib/babel-external-helpers'>; +} +declare module 'babel-cli/lib/babel-node.js' { + declare module.exports: $Exports<'babel-cli/lib/babel-node'>; +} +declare module 'babel-cli/lib/babel/dir.js' { + declare module.exports: $Exports<'babel-cli/lib/babel/dir'>; +} +declare module 'babel-cli/lib/babel/file.js' { + declare module.exports: $Exports<'babel-cli/lib/babel/file'>; +} +declare module 'babel-cli/lib/babel/index.js' { + declare module.exports: $Exports<'babel-cli/lib/babel/index'>; +} +declare module 'babel-cli/lib/babel/util.js' { + declare module.exports: $Exports<'babel-cli/lib/babel/util'>; +} diff --git a/flow-typed/npm/babel-eslint_vx.x.x.js b/flow-typed/npm/babel-eslint_vx.x.x.js new file mode 100644 index 0000000..dbdf50f --- /dev/null +++ b/flow-typed/npm/babel-eslint_vx.x.x.js @@ -0,0 +1,73 @@ +// flow-typed signature: a81f2357ad0fe7bd5f5c2804b16f2c58 +// flow-typed version: <>/babel-eslint_v^7.0.0/flow_v0.36.0 + +/** + * This is an autogenerated libdef stub for: + * + * 'babel-eslint' + * + * 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-eslint' { + 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-eslint/babylon-to-espree/attachComments' { + declare module.exports: any; +} + +declare module 'babel-eslint/babylon-to-espree/convertTemplateType' { + declare module.exports: any; +} + +declare module 'babel-eslint/babylon-to-espree/index' { + declare module.exports: any; +} + +declare module 'babel-eslint/babylon-to-espree/toAST' { + declare module.exports: any; +} + +declare module 'babel-eslint/babylon-to-espree/toToken' { + declare module.exports: any; +} + +declare module 'babel-eslint/babylon-to-espree/toTokens' { + declare module.exports: any; +} + +// Filename aliases +declare module 'babel-eslint/babylon-to-espree/attachComments.js' { + declare module.exports: $Exports<'babel-eslint/babylon-to-espree/attachComments'>; +} +declare module 'babel-eslint/babylon-to-espree/convertTemplateType.js' { + declare module.exports: $Exports<'babel-eslint/babylon-to-espree/convertTemplateType'>; +} +declare module 'babel-eslint/babylon-to-espree/index.js' { + declare module.exports: $Exports<'babel-eslint/babylon-to-espree/index'>; +} +declare module 'babel-eslint/babylon-to-espree/toAST.js' { + declare module.exports: $Exports<'babel-eslint/babylon-to-espree/toAST'>; +} +declare module 'babel-eslint/babylon-to-espree/toToken.js' { + declare module.exports: $Exports<'babel-eslint/babylon-to-espree/toToken'>; +} +declare module 'babel-eslint/babylon-to-espree/toTokens.js' { + declare module.exports: $Exports<'babel-eslint/babylon-to-espree/toTokens'>; +} +declare module 'babel-eslint/index' { + declare module.exports: $Exports<'babel-eslint'>; +} +declare module 'babel-eslint/index.js' { + declare module.exports: $Exports<'babel-eslint'>; +} diff --git a/flow-typed/npm/babel-jest_vx.x.x.js b/flow-typed/npm/babel-jest_vx.x.x.js new file mode 100644 index 0000000..9c74426 --- /dev/null +++ b/flow-typed/npm/babel-jest_vx.x.x.js @@ -0,0 +1,32 @@ +// flow-typed signature: dd41e660af30a3c8db690e3465b224b9 +// flow-typed version: <>/babel-jest_v^17.0.0/flow_v0.36.0 + +/** + * This is an autogenerated libdef stub for: + * + * 'babel-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 'babel-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 'babel-jest/build/index' { + declare module.exports: any; +} + +// Filename aliases +declare module 'babel-jest/build/index.js' { + declare module.exports: $Exports<'babel-jest/build/index'>; +} diff --git a/flow-typed/npm/babel-loader_vx.x.x.js b/flow-typed/npm/babel-loader_vx.x.x.js new file mode 100644 index 0000000..840f056 --- /dev/null +++ b/flow-typed/npm/babel-loader_vx.x.x.js @@ -0,0 +1,67 @@ +// flow-typed signature: 713893810c1ede62aab1e51b2472cd48 +// flow-typed version: <>/babel-loader_v^6.2.7/flow_v0.36.0 + +/** + * This is an autogenerated libdef stub for: + * + * 'babel-loader' + * + * 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-loader' { + 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-loader/lib/fs-cache' { + declare module.exports: any; +} + +declare module 'babel-loader/lib/index' { + declare module.exports: any; +} + +declare module 'babel-loader/lib/resolve-rc' { + declare module.exports: any; +} + +declare module 'babel-loader/lib/utils/exists' { + declare module.exports: any; +} + +declare module 'babel-loader/lib/utils/read' { + declare module.exports: any; +} + +declare module 'babel-loader/lib/utils/relative' { + declare module.exports: any; +} + +// Filename aliases +declare module 'babel-loader/lib/fs-cache.js' { + declare module.exports: $Exports<'babel-loader/lib/fs-cache'>; +} +declare module 'babel-loader/lib/index.js' { + declare module.exports: $Exports<'babel-loader/lib/index'>; +} +declare module 'babel-loader/lib/resolve-rc.js' { + declare module.exports: $Exports<'babel-loader/lib/resolve-rc'>; +} +declare module 'babel-loader/lib/utils/exists.js' { + declare module.exports: $Exports<'babel-loader/lib/utils/exists'>; +} +declare module 'babel-loader/lib/utils/read.js' { + declare module.exports: $Exports<'babel-loader/lib/utils/read'>; +} +declare module 'babel-loader/lib/utils/relative.js' { + declare module.exports: $Exports<'babel-loader/lib/utils/relative'>; +} diff --git a/flow-typed/npm/babel-plugin-transform-runtime_vx.x.x.js b/flow-typed/npm/babel-plugin-transform-runtime_vx.x.x.js new file mode 100644 index 0000000..18af502 --- /dev/null +++ b/flow-typed/npm/babel-plugin-transform-runtime_vx.x.x.js @@ -0,0 +1,39 @@ +// flow-typed signature: 1607137ad3dcfaa0ee945573ad14fd15 +// flow-typed version: <>/babel-plugin-transform-runtime_v^6.15.0/flow_v0.36.0 + +/** + * This is an autogenerated libdef stub for: + * + * 'babel-plugin-transform-runtime' + * + * 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-runtime' { + 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-runtime/lib/definitions' { + declare module.exports: any; +} + +declare module 'babel-plugin-transform-runtime/lib/index' { + declare module.exports: any; +} + +// Filename aliases +declare module 'babel-plugin-transform-runtime/lib/definitions.js' { + declare module.exports: $Exports<'babel-plugin-transform-runtime/lib/definitions'>; +} +declare module 'babel-plugin-transform-runtime/lib/index.js' { + declare module.exports: $Exports<'babel-plugin-transform-runtime/lib/index'>; +} diff --git a/flow-typed/npm/babel-preset-latest_vx.x.x.js b/flow-typed/npm/babel-preset-latest_vx.x.x.js new file mode 100644 index 0000000..47bb3c9 --- /dev/null +++ b/flow-typed/npm/babel-preset-latest_vx.x.x.js @@ -0,0 +1,32 @@ +// flow-typed signature: 3e6cbdbf1edaf99f8d8809ba3993e5e9 +// flow-typed version: <>/babel-preset-latest_v^6.14.0/flow_v0.36.0 + +/** + * This is an autogenerated libdef stub for: + * + * 'babel-preset-latest' + * + * 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-preset-latest' { + 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-preset-latest/lib/index' { + declare module.exports: any; +} + +// Filename aliases +declare module 'babel-preset-latest/lib/index.js' { + declare module.exports: $Exports<'babel-preset-latest/lib/index'>; +} diff --git a/flow-typed/npm/babel-preset-react_vx.x.x.js b/flow-typed/npm/babel-preset-react_vx.x.x.js new file mode 100644 index 0000000..47d7489 --- /dev/null +++ b/flow-typed/npm/babel-preset-react_vx.x.x.js @@ -0,0 +1,32 @@ +// flow-typed signature: 1583710a13702efbe46ea9401887ae95 +// flow-typed version: <>/babel-preset-react_v^6.11.1/flow_v0.36.0 + +/** + * This is an autogenerated libdef stub for: + * + * 'babel-preset-react' + * + * 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-preset-react' { + 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-preset-react/lib/index' { + declare module.exports: any; +} + +// Filename aliases +declare module 'babel-preset-react/lib/index.js' { + declare module.exports: $Exports<'babel-preset-react/lib/index'>; +} diff --git a/flow-typed/npm/babel-preset-stage-2_vx.x.x.js b/flow-typed/npm/babel-preset-stage-2_vx.x.x.js new file mode 100644 index 0000000..ca75cc5 --- /dev/null +++ b/flow-typed/npm/babel-preset-stage-2_vx.x.x.js @@ -0,0 +1,32 @@ +// flow-typed signature: ff44b4d4f9ab142d186e24bcab49744c +// flow-typed version: <>/babel-preset-stage-2_v^6.13.0/flow_v0.36.0 + +/** + * This is an autogenerated libdef stub for: + * + * 'babel-preset-stage-2' + * + * 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-preset-stage-2' { + 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-preset-stage-2/lib/index' { + declare module.exports: any; +} + +// Filename aliases +declare module 'babel-preset-stage-2/lib/index.js' { + declare module.exports: $Exports<'babel-preset-stage-2/lib/index'>; +} diff --git a/flow-typed/npm/cross-env_vx.x.x.js b/flow-typed/npm/cross-env_vx.x.x.js new file mode 100644 index 0000000..3817d9f --- /dev/null +++ b/flow-typed/npm/cross-env_vx.x.x.js @@ -0,0 +1,74 @@ +// flow-typed signature: 6a52236e52c9941cafc1c1af862d1dc7 +// flow-typed version: <>/cross-env_v^3.0.0/flow_v0.36.0 + +/** + * This is an autogenerated libdef stub for: + * + * 'cross-env' + * + * 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 'cross-env' { + 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 'cross-env/bin/cross-env' { + declare module.exports: any; +} + +declare module 'cross-env/dist/command' { + declare module.exports: any; +} + +declare module 'cross-env/dist/index' { + declare module.exports: any; +} + +declare module 'cross-env/src/command' { + declare module.exports: any; +} + +declare module 'cross-env/src/command.test' { + declare module.exports: any; +} + +declare module 'cross-env/src/index' { + declare module.exports: any; +} + +declare module 'cross-env/src/index.test' { + declare module.exports: any; +} + +// Filename aliases +declare module 'cross-env/bin/cross-env.js' { + declare module.exports: $Exports<'cross-env/bin/cross-env'>; +} +declare module 'cross-env/dist/command.js' { + declare module.exports: $Exports<'cross-env/dist/command'>; +} +declare module 'cross-env/dist/index.js' { + declare module.exports: $Exports<'cross-env/dist/index'>; +} +declare module 'cross-env/src/command.js' { + declare module.exports: $Exports<'cross-env/src/command'>; +} +declare module 'cross-env/src/command.test.js' { + declare module.exports: $Exports<'cross-env/src/command.test'>; +} +declare module 'cross-env/src/index.js' { + declare module.exports: $Exports<'cross-env/src/index'>; +} +declare module 'cross-env/src/index.test.js' { + declare module.exports: $Exports<'cross-env/src/index.test'>; +} diff --git a/flow-typed/npm/enzyme_v2.3.x.js b/flow-typed/npm/enzyme_v2.3.x.js new file mode 100644 index 0000000..7431d46 --- /dev/null +++ b/flow-typed/npm/enzyme_v2.3.x.js @@ -0,0 +1,79 @@ +// flow-typed signature: f3b75915e82ea23b5d37b8b584eddb76 +// flow-typed version: d4e590e9bf/enzyme_v2.3.x/flow_>=v0.28.x + +declare module 'enzyme' { + declare type PredicateFunction = (wrapper: T) => boolean; + declare type NodeOrNodes = React$Element | Array>; + declare type EnzymeSelector = string | ReactClass | Object; + + // CheerioWrapper is a type alias for an actual cheerio instance + // TODO: Reference correct type from cheerio's type declarations + declare type CheerioWrapper = any; + + declare class Wrapper { + find(selector: EnzymeSelector): this; + findWhere(predicate: PredicateFunction): this; + filter(selector: EnzymeSelector): this; + filterWhere(predicate: PredicateFunction): this; + contains(nodeOrNodes: NodeOrNodes): boolean; + containsMatchingElement(node: React$Element): boolean; + containsAllMatchingElements(nodes: NodeOrNodes): boolean; + containsAnyMatchingElements(nodes: NodeOrNodes): boolean; + matchesElement(node: React$Element): boolean; + hasClass(className: string): boolean; + is(selector: EnzymeSelector): boolean; + isEmpty(): boolean; + not(selector: EnzymeSelector): boolean; + children(selector?: EnzymeSelector): this; + childAt(index: number): this; + parents(selector?: EnzymeSelector): this; + parent(): this; + closest(selector: EnzymeSelector): this; + render(): CheerioWrapper; + unmount(): this; + text(): string; + html(): string; + get(index: number): React$Element; + at(index: number): this; + first(): this; + last(): this; + state(key?: string): any; + context(key?: string): any; + props(): Object; + prop(key: string): any; + key(): string; + simulate(event: string, ...args: Array): this; + setState(state: Object): this; + setProps(props: Object): this; + setContext(context: Object): this; + instance(): React$Component; + update(): this; + debug(): string; + type(): string | Function | null; + name(): string; + forEach(fn: (node: this) => any): this; + map(fn: (node: this) => T): Array; + reduce(fn: (value: T, node: this, index: number) => T, initialValue?: T): Array; + reduceRight(fn: (value: T, node: this, index: number) => T, initialValue?: T): Array; + some(selector: EnzymeSelector): boolean; + someWhere(predicate: PredicateFunction): boolean; + every(selector: EnzymeSelector): boolean; + everyWhere(predicate: PredicateFunction): boolean; + length: number; + } + + declare export class ReactWrapper extends Wrapper { + mount(): this; + ref(refName: string): this; + detach(): void; + } + + declare export class ShallowWrapper extends Wrapper { + equals(node: React$Element): boolean; + shallow(options?: { context?: Object }): ShallowWrapper; + } + + declare export function shallow(node: React$Element, options?: { context?: Object }): ShallowWrapper; + declare export function mount(node: React$Element, options?: { context?: Object, attachTo?: HTMLElement, childContextTypes?: Object }): ReactWrapper; + declare export function render(node: React$Element, options?: { context?: Object }): CheerioWrapper; +} diff --git a/flow-typed/npm/eslint-plugin-flowtype-errors_vx.x.x.js b/flow-typed/npm/eslint-plugin-flowtype-errors_vx.x.x.js new file mode 100644 index 0000000..9d75d8e --- /dev/null +++ b/flow-typed/npm/eslint-plugin-flowtype-errors_vx.x.x.js @@ -0,0 +1,59 @@ +// flow-typed signature: 8b9af0e424e0495b6d7686fa3c7f4b46 +// flow-typed version: <>/eslint-plugin-flowtype-errors_v^1.5.0/flow_v0.36.0 + +/** + * This is an autogenerated libdef stub for: + * + * 'eslint-plugin-flowtype-errors' + * + * 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 'eslint-plugin-flowtype-errors' { + 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 'eslint-plugin-flowtype-errors/dist/collect' { + declare module.exports: any; +} + +declare module 'eslint-plugin-flowtype-errors/dist/filter' { + declare module.exports: any; +} + +declare module 'eslint-plugin-flowtype-errors/dist/format' { + declare module.exports: any; +} + +declare module 'eslint-plugin-flowtype-errors/dist/index' { + declare module.exports: any; +} + +// Filename aliases +declare module 'eslint-plugin-flowtype-errors/dist/collect.js' { + declare module.exports: $Exports<'eslint-plugin-flowtype-errors/dist/collect'>; +} +declare module 'eslint-plugin-flowtype-errors/dist/filter.js' { + declare module.exports: $Exports<'eslint-plugin-flowtype-errors/dist/filter'>; +} +declare module 'eslint-plugin-flowtype-errors/dist/format.js' { + declare module.exports: $Exports<'eslint-plugin-flowtype-errors/dist/format'>; +} +declare module 'eslint-plugin-flowtype-errors/dist/index.js' { + declare module.exports: $Exports<'eslint-plugin-flowtype-errors/dist/index'>; +} +declare module 'eslint-plugin-flowtype-errors/index' { + declare module.exports: $Exports<'eslint-plugin-flowtype-errors'>; +} +declare module 'eslint-plugin-flowtype-errors/index.js' { + declare module.exports: $Exports<'eslint-plugin-flowtype-errors'>; +} diff --git a/flow-typed/npm/eslint-plugin-flowtype_vx.x.x.js b/flow-typed/npm/eslint-plugin-flowtype_vx.x.x.js new file mode 100644 index 0000000..a31e7d9 --- /dev/null +++ b/flow-typed/npm/eslint-plugin-flowtype_vx.x.x.js @@ -0,0 +1,319 @@ +// flow-typed signature: c08fd306f63603c9e8a07ab3088110e4 +// flow-typed version: <>/eslint-plugin-flowtype_v^2.28.2/flow_v0.36.0 + +/** + * This is an autogenerated libdef stub for: + * + * 'eslint-plugin-flowtype' + * + * 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 'eslint-plugin-flowtype' { + 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 'eslint-plugin-flowtype/bin/readmeAssertions' { + declare module.exports: any; +} + +declare module 'eslint-plugin-flowtype/dist/index' { + declare module.exports: any; +} + +declare module 'eslint-plugin-flowtype/dist/rules/booleanStyle' { + declare module.exports: any; +} + +declare module 'eslint-plugin-flowtype/dist/rules/defineFlowType' { + declare module.exports: any; +} + +declare module 'eslint-plugin-flowtype/dist/rules/delimiterDangle' { + declare module.exports: any; +} + +declare module 'eslint-plugin-flowtype/dist/rules/genericSpacing' { + declare module.exports: any; +} + +declare module 'eslint-plugin-flowtype/dist/rules/noDupeKeys' { + declare module.exports: any; +} + +declare module 'eslint-plugin-flowtype/dist/rules/noPrimitiveConstructorTypes' { + declare module.exports: any; +} + +declare module 'eslint-plugin-flowtype/dist/rules/noWeakTypes' { + declare module.exports: any; +} + +declare module 'eslint-plugin-flowtype/dist/rules/objectTypeDelimiter' { + declare module.exports: any; +} + +declare module 'eslint-plugin-flowtype/dist/rules/requireParameterType' { + declare module.exports: any; +} + +declare module 'eslint-plugin-flowtype/dist/rules/requireReturnType' { + declare module.exports: any; +} + +declare module 'eslint-plugin-flowtype/dist/rules/requireValidFileAnnotation' { + declare module.exports: any; +} + +declare module 'eslint-plugin-flowtype/dist/rules/requireVariableType' { + declare module.exports: any; +} + +declare module 'eslint-plugin-flowtype/dist/rules/semi' { + declare module.exports: any; +} + +declare module 'eslint-plugin-flowtype/dist/rules/sortKeys' { + declare module.exports: any; +} + +declare module 'eslint-plugin-flowtype/dist/rules/spaceAfterTypeColon' { + declare module.exports: any; +} + +declare module 'eslint-plugin-flowtype/dist/rules/spaceBeforeGenericBracket' { + declare module.exports: any; +} + +declare module 'eslint-plugin-flowtype/dist/rules/spaceBeforeTypeColon' { + declare module.exports: any; +} + +declare module 'eslint-plugin-flowtype/dist/rules/typeColonSpacing/evaluateFunctions' { + declare module.exports: any; +} + +declare module 'eslint-plugin-flowtype/dist/rules/typeColonSpacing/evaluateObjectTypeIndexer' { + declare module.exports: any; +} + +declare module 'eslint-plugin-flowtype/dist/rules/typeColonSpacing/evaluateObjectTypeProperty' { + declare module.exports: any; +} + +declare module 'eslint-plugin-flowtype/dist/rules/typeColonSpacing/evaluateReturnType' { + declare module.exports: any; +} + +declare module 'eslint-plugin-flowtype/dist/rules/typeColonSpacing/evaluateTypeCastExpression' { + declare module.exports: any; +} + +declare module 'eslint-plugin-flowtype/dist/rules/typeColonSpacing/evaluateTypical' { + declare module.exports: any; +} + +declare module 'eslint-plugin-flowtype/dist/rules/typeColonSpacing/index' { + declare module.exports: any; +} + +declare module 'eslint-plugin-flowtype/dist/rules/typeColonSpacing/reporter' { + declare module.exports: any; +} + +declare module 'eslint-plugin-flowtype/dist/rules/typeIdMatch' { + declare module.exports: any; +} + +declare module 'eslint-plugin-flowtype/dist/rules/unionIntersectionSpacing' { + declare module.exports: any; +} + +declare module 'eslint-plugin-flowtype/dist/rules/useFlowType' { + declare module.exports: any; +} + +declare module 'eslint-plugin-flowtype/dist/rules/validSyntax' { + declare module.exports: any; +} + +declare module 'eslint-plugin-flowtype/dist/utilities/checkFlowFileAnnotation' { + declare module.exports: any; +} + +declare module 'eslint-plugin-flowtype/dist/utilities/fuzzyStringMatch' { + declare module.exports: any; +} + +declare module 'eslint-plugin-flowtype/dist/utilities/getParameterName' { + declare module.exports: any; +} + +declare module 'eslint-plugin-flowtype/dist/utilities/getTokenAfterParens' { + declare module.exports: any; +} + +declare module 'eslint-plugin-flowtype/dist/utilities/getTokenBeforeParens' { + declare module.exports: any; +} + +declare module 'eslint-plugin-flowtype/dist/utilities/index' { + declare module.exports: any; +} + +declare module 'eslint-plugin-flowtype/dist/utilities/isFlowFile' { + declare module.exports: any; +} + +declare module 'eslint-plugin-flowtype/dist/utilities/isFlowFileAnnotation' { + declare module.exports: any; +} + +declare module 'eslint-plugin-flowtype/dist/utilities/iterateFunctionNodes' { + declare module.exports: any; +} + +declare module 'eslint-plugin-flowtype/dist/utilities/quoteName' { + declare module.exports: any; +} + +declare module 'eslint-plugin-flowtype/dist/utilities/spacingFixers' { + declare module.exports: any; +} + +// Filename aliases +declare module 'eslint-plugin-flowtype/bin/readmeAssertions.js' { + declare module.exports: $Exports<'eslint-plugin-flowtype/bin/readmeAssertions'>; +} +declare module 'eslint-plugin-flowtype/dist/index.js' { + declare module.exports: $Exports<'eslint-plugin-flowtype/dist/index'>; +} +declare module 'eslint-plugin-flowtype/dist/rules/booleanStyle.js' { + declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/booleanStyle'>; +} +declare module 'eslint-plugin-flowtype/dist/rules/defineFlowType.js' { + declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/defineFlowType'>; +} +declare module 'eslint-plugin-flowtype/dist/rules/delimiterDangle.js' { + declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/delimiterDangle'>; +} +declare module 'eslint-plugin-flowtype/dist/rules/genericSpacing.js' { + declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/genericSpacing'>; +} +declare module 'eslint-plugin-flowtype/dist/rules/noDupeKeys.js' { + declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/noDupeKeys'>; +} +declare module 'eslint-plugin-flowtype/dist/rules/noPrimitiveConstructorTypes.js' { + declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/noPrimitiveConstructorTypes'>; +} +declare module 'eslint-plugin-flowtype/dist/rules/noWeakTypes.js' { + declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/noWeakTypes'>; +} +declare module 'eslint-plugin-flowtype/dist/rules/objectTypeDelimiter.js' { + declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/objectTypeDelimiter'>; +} +declare module 'eslint-plugin-flowtype/dist/rules/requireParameterType.js' { + declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/requireParameterType'>; +} +declare module 'eslint-plugin-flowtype/dist/rules/requireReturnType.js' { + declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/requireReturnType'>; +} +declare module 'eslint-plugin-flowtype/dist/rules/requireValidFileAnnotation.js' { + declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/requireValidFileAnnotation'>; +} +declare module 'eslint-plugin-flowtype/dist/rules/requireVariableType.js' { + declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/requireVariableType'>; +} +declare module 'eslint-plugin-flowtype/dist/rules/semi.js' { + declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/semi'>; +} +declare module 'eslint-plugin-flowtype/dist/rules/sortKeys.js' { + declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/sortKeys'>; +} +declare module 'eslint-plugin-flowtype/dist/rules/spaceAfterTypeColon.js' { + declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/spaceAfterTypeColon'>; +} +declare module 'eslint-plugin-flowtype/dist/rules/spaceBeforeGenericBracket.js' { + declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/spaceBeforeGenericBracket'>; +} +declare module 'eslint-plugin-flowtype/dist/rules/spaceBeforeTypeColon.js' { + declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/spaceBeforeTypeColon'>; +} +declare module 'eslint-plugin-flowtype/dist/rules/typeColonSpacing/evaluateFunctions.js' { + declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/typeColonSpacing/evaluateFunctions'>; +} +declare module 'eslint-plugin-flowtype/dist/rules/typeColonSpacing/evaluateObjectTypeIndexer.js' { + declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/typeColonSpacing/evaluateObjectTypeIndexer'>; +} +declare module 'eslint-plugin-flowtype/dist/rules/typeColonSpacing/evaluateObjectTypeProperty.js' { + declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/typeColonSpacing/evaluateObjectTypeProperty'>; +} +declare module 'eslint-plugin-flowtype/dist/rules/typeColonSpacing/evaluateReturnType.js' { + declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/typeColonSpacing/evaluateReturnType'>; +} +declare module 'eslint-plugin-flowtype/dist/rules/typeColonSpacing/evaluateTypeCastExpression.js' { + declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/typeColonSpacing/evaluateTypeCastExpression'>; +} +declare module 'eslint-plugin-flowtype/dist/rules/typeColonSpacing/evaluateTypical.js' { + declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/typeColonSpacing/evaluateTypical'>; +} +declare module 'eslint-plugin-flowtype/dist/rules/typeColonSpacing/index.js' { + declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/typeColonSpacing/index'>; +} +declare module 'eslint-plugin-flowtype/dist/rules/typeColonSpacing/reporter.js' { + declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/typeColonSpacing/reporter'>; +} +declare module 'eslint-plugin-flowtype/dist/rules/typeIdMatch.js' { + declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/typeIdMatch'>; +} +declare module 'eslint-plugin-flowtype/dist/rules/unionIntersectionSpacing.js' { + declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/unionIntersectionSpacing'>; +} +declare module 'eslint-plugin-flowtype/dist/rules/useFlowType.js' { + declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/useFlowType'>; +} +declare module 'eslint-plugin-flowtype/dist/rules/validSyntax.js' { + declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/validSyntax'>; +} +declare module 'eslint-plugin-flowtype/dist/utilities/checkFlowFileAnnotation.js' { + declare module.exports: $Exports<'eslint-plugin-flowtype/dist/utilities/checkFlowFileAnnotation'>; +} +declare module 'eslint-plugin-flowtype/dist/utilities/fuzzyStringMatch.js' { + declare module.exports: $Exports<'eslint-plugin-flowtype/dist/utilities/fuzzyStringMatch'>; +} +declare module 'eslint-plugin-flowtype/dist/utilities/getParameterName.js' { + declare module.exports: $Exports<'eslint-plugin-flowtype/dist/utilities/getParameterName'>; +} +declare module 'eslint-plugin-flowtype/dist/utilities/getTokenAfterParens.js' { + declare module.exports: $Exports<'eslint-plugin-flowtype/dist/utilities/getTokenAfterParens'>; +} +declare module 'eslint-plugin-flowtype/dist/utilities/getTokenBeforeParens.js' { + declare module.exports: $Exports<'eslint-plugin-flowtype/dist/utilities/getTokenBeforeParens'>; +} +declare module 'eslint-plugin-flowtype/dist/utilities/index.js' { + declare module.exports: $Exports<'eslint-plugin-flowtype/dist/utilities/index'>; +} +declare module 'eslint-plugin-flowtype/dist/utilities/isFlowFile.js' { + declare module.exports: $Exports<'eslint-plugin-flowtype/dist/utilities/isFlowFile'>; +} +declare module 'eslint-plugin-flowtype/dist/utilities/isFlowFileAnnotation.js' { + declare module.exports: $Exports<'eslint-plugin-flowtype/dist/utilities/isFlowFileAnnotation'>; +} +declare module 'eslint-plugin-flowtype/dist/utilities/iterateFunctionNodes.js' { + declare module.exports: $Exports<'eslint-plugin-flowtype/dist/utilities/iterateFunctionNodes'>; +} +declare module 'eslint-plugin-flowtype/dist/utilities/quoteName.js' { + declare module.exports: $Exports<'eslint-plugin-flowtype/dist/utilities/quoteName'>; +} +declare module 'eslint-plugin-flowtype/dist/utilities/spacingFixers.js' { + declare module.exports: $Exports<'eslint-plugin-flowtype/dist/utilities/spacingFixers'>; +} diff --git a/flow-typed/npm/eslint-plugin-import_vx.x.x.js b/flow-typed/npm/eslint-plugin-import_vx.x.x.js new file mode 100644 index 0000000..a6d2bd6 --- /dev/null +++ b/flow-typed/npm/eslint-plugin-import_vx.x.x.js @@ -0,0 +1,326 @@ +// flow-typed signature: f390bef0b84dfc600a67a4731dc2c535 +// flow-typed version: <>/eslint-plugin-import_v^2.2.0/flow_v0.36.0 + +/** + * This is an autogenerated libdef stub for: + * + * 'eslint-plugin-import' + * + * 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 'eslint-plugin-import' { + 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 'eslint-plugin-import/config/electron' { + declare module.exports: any; +} + +declare module 'eslint-plugin-import/config/errors' { + declare module.exports: any; +} + +declare module 'eslint-plugin-import/config/react-native' { + declare module.exports: any; +} + +declare module 'eslint-plugin-import/config/react' { + declare module.exports: any; +} + +declare module 'eslint-plugin-import/config/recommended' { + declare module.exports: any; +} + +declare module 'eslint-plugin-import/config/stage-0' { + declare module.exports: any; +} + +declare module 'eslint-plugin-import/config/warnings' { + declare module.exports: any; +} + +declare module 'eslint-plugin-import/lib/core/importType' { + declare module.exports: any; +} + +declare module 'eslint-plugin-import/lib/core/staticRequire' { + declare module.exports: any; +} + +declare module 'eslint-plugin-import/lib/ExportMap' { + declare module.exports: any; +} + +declare module 'eslint-plugin-import/lib/importDeclaration' { + declare module.exports: any; +} + +declare module 'eslint-plugin-import/lib/index' { + declare module.exports: any; +} + +declare module 'eslint-plugin-import/lib/rules/default' { + declare module.exports: any; +} + +declare module 'eslint-plugin-import/lib/rules/export' { + declare module.exports: any; +} + +declare module 'eslint-plugin-import/lib/rules/extensions' { + declare module.exports: any; +} + +declare module 'eslint-plugin-import/lib/rules/first' { + declare module.exports: any; +} + +declare module 'eslint-plugin-import/lib/rules/imports-first' { + declare module.exports: any; +} + +declare module 'eslint-plugin-import/lib/rules/max-dependencies' { + declare module.exports: any; +} + +declare module 'eslint-plugin-import/lib/rules/named' { + declare module.exports: any; +} + +declare module 'eslint-plugin-import/lib/rules/namespace' { + declare module.exports: any; +} + +declare module 'eslint-plugin-import/lib/rules/newline-after-import' { + declare module.exports: any; +} + +declare module 'eslint-plugin-import/lib/rules/no-absolute-path' { + declare module.exports: any; +} + +declare module 'eslint-plugin-import/lib/rules/no-amd' { + declare module.exports: any; +} + +declare module 'eslint-plugin-import/lib/rules/no-commonjs' { + declare module.exports: any; +} + +declare module 'eslint-plugin-import/lib/rules/no-deprecated' { + declare module.exports: any; +} + +declare module 'eslint-plugin-import/lib/rules/no-duplicates' { + declare module.exports: any; +} + +declare module 'eslint-plugin-import/lib/rules/no-dynamic-require' { + declare module.exports: any; +} + +declare module 'eslint-plugin-import/lib/rules/no-extraneous-dependencies' { + declare module.exports: any; +} + +declare module 'eslint-plugin-import/lib/rules/no-internal-modules' { + declare module.exports: any; +} + +declare module 'eslint-plugin-import/lib/rules/no-mutable-exports' { + declare module.exports: any; +} + +declare module 'eslint-plugin-import/lib/rules/no-named-as-default-member' { + declare module.exports: any; +} + +declare module 'eslint-plugin-import/lib/rules/no-named-as-default' { + declare module.exports: any; +} + +declare module 'eslint-plugin-import/lib/rules/no-named-default' { + declare module.exports: any; +} + +declare module 'eslint-plugin-import/lib/rules/no-namespace' { + declare module.exports: any; +} + +declare module 'eslint-plugin-import/lib/rules/no-nodejs-modules' { + declare module.exports: any; +} + +declare module 'eslint-plugin-import/lib/rules/no-restricted-paths' { + declare module.exports: any; +} + +declare module 'eslint-plugin-import/lib/rules/no-unassigned-import' { + declare module.exports: any; +} + +declare module 'eslint-plugin-import/lib/rules/no-unresolved' { + declare module.exports: any; +} + +declare module 'eslint-plugin-import/lib/rules/no-webpack-loader-syntax' { + declare module.exports: any; +} + +declare module 'eslint-plugin-import/lib/rules/order' { + declare module.exports: any; +} + +declare module 'eslint-plugin-import/lib/rules/prefer-default-export' { + declare module.exports: any; +} + +declare module 'eslint-plugin-import/lib/rules/unambiguous' { + declare module.exports: any; +} + +declare module 'eslint-plugin-import/memo-parser/index' { + declare module.exports: any; +} + +// Filename aliases +declare module 'eslint-plugin-import/config/electron.js' { + declare module.exports: $Exports<'eslint-plugin-import/config/electron'>; +} +declare module 'eslint-plugin-import/config/errors.js' { + declare module.exports: $Exports<'eslint-plugin-import/config/errors'>; +} +declare module 'eslint-plugin-import/config/react-native.js' { + declare module.exports: $Exports<'eslint-plugin-import/config/react-native'>; +} +declare module 'eslint-plugin-import/config/react.js' { + declare module.exports: $Exports<'eslint-plugin-import/config/react'>; +} +declare module 'eslint-plugin-import/config/recommended.js' { + declare module.exports: $Exports<'eslint-plugin-import/config/recommended'>; +} +declare module 'eslint-plugin-import/config/stage-0.js' { + declare module.exports: $Exports<'eslint-plugin-import/config/stage-0'>; +} +declare module 'eslint-plugin-import/config/warnings.js' { + declare module.exports: $Exports<'eslint-plugin-import/config/warnings'>; +} +declare module 'eslint-plugin-import/lib/core/importType.js' { + declare module.exports: $Exports<'eslint-plugin-import/lib/core/importType'>; +} +declare module 'eslint-plugin-import/lib/core/staticRequire.js' { + declare module.exports: $Exports<'eslint-plugin-import/lib/core/staticRequire'>; +} +declare module 'eslint-plugin-import/lib/ExportMap.js' { + declare module.exports: $Exports<'eslint-plugin-import/lib/ExportMap'>; +} +declare module 'eslint-plugin-import/lib/importDeclaration.js' { + declare module.exports: $Exports<'eslint-plugin-import/lib/importDeclaration'>; +} +declare module 'eslint-plugin-import/lib/index.js' { + declare module.exports: $Exports<'eslint-plugin-import/lib/index'>; +} +declare module 'eslint-plugin-import/lib/rules/default.js' { + declare module.exports: $Exports<'eslint-plugin-import/lib/rules/default'>; +} +declare module 'eslint-plugin-import/lib/rules/export.js' { + declare module.exports: $Exports<'eslint-plugin-import/lib/rules/export'>; +} +declare module 'eslint-plugin-import/lib/rules/extensions.js' { + declare module.exports: $Exports<'eslint-plugin-import/lib/rules/extensions'>; +} +declare module 'eslint-plugin-import/lib/rules/first.js' { + declare module.exports: $Exports<'eslint-plugin-import/lib/rules/first'>; +} +declare module 'eslint-plugin-import/lib/rules/imports-first.js' { + declare module.exports: $Exports<'eslint-plugin-import/lib/rules/imports-first'>; +} +declare module 'eslint-plugin-import/lib/rules/max-dependencies.js' { + declare module.exports: $Exports<'eslint-plugin-import/lib/rules/max-dependencies'>; +} +declare module 'eslint-plugin-import/lib/rules/named.js' { + declare module.exports: $Exports<'eslint-plugin-import/lib/rules/named'>; +} +declare module 'eslint-plugin-import/lib/rules/namespace.js' { + declare module.exports: $Exports<'eslint-plugin-import/lib/rules/namespace'>; +} +declare module 'eslint-plugin-import/lib/rules/newline-after-import.js' { + declare module.exports: $Exports<'eslint-plugin-import/lib/rules/newline-after-import'>; +} +declare module 'eslint-plugin-import/lib/rules/no-absolute-path.js' { + declare module.exports: $Exports<'eslint-plugin-import/lib/rules/no-absolute-path'>; +} +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-commonjs.js' { + declare module.exports: $Exports<'eslint-plugin-import/lib/rules/no-commonjs'>; +} +declare module 'eslint-plugin-import/lib/rules/no-deprecated.js' { + declare module.exports: $Exports<'eslint-plugin-import/lib/rules/no-deprecated'>; +} +declare module 'eslint-plugin-import/lib/rules/no-duplicates.js' { + declare module.exports: $Exports<'eslint-plugin-import/lib/rules/no-duplicates'>; +} +declare module 'eslint-plugin-import/lib/rules/no-dynamic-require.js' { + declare module.exports: $Exports<'eslint-plugin-import/lib/rules/no-dynamic-require'>; +} +declare module 'eslint-plugin-import/lib/rules/no-extraneous-dependencies.js' { + declare module.exports: $Exports<'eslint-plugin-import/lib/rules/no-extraneous-dependencies'>; +} +declare module 'eslint-plugin-import/lib/rules/no-internal-modules.js' { + declare module.exports: $Exports<'eslint-plugin-import/lib/rules/no-internal-modules'>; +} +declare module 'eslint-plugin-import/lib/rules/no-mutable-exports.js' { + declare module.exports: $Exports<'eslint-plugin-import/lib/rules/no-mutable-exports'>; +} +declare module 'eslint-plugin-import/lib/rules/no-named-as-default-member.js' { + declare module.exports: $Exports<'eslint-plugin-import/lib/rules/no-named-as-default-member'>; +} +declare module 'eslint-plugin-import/lib/rules/no-named-as-default.js' { + declare module.exports: $Exports<'eslint-plugin-import/lib/rules/no-named-as-default'>; +} +declare module 'eslint-plugin-import/lib/rules/no-named-default.js' { + declare module.exports: $Exports<'eslint-plugin-import/lib/rules/no-named-default'>; +} +declare module 'eslint-plugin-import/lib/rules/no-namespace.js' { + declare module.exports: $Exports<'eslint-plugin-import/lib/rules/no-namespace'>; +} +declare module 'eslint-plugin-import/lib/rules/no-nodejs-modules.js' { + declare module.exports: $Exports<'eslint-plugin-import/lib/rules/no-nodejs-modules'>; +} +declare module 'eslint-plugin-import/lib/rules/no-restricted-paths.js' { + declare module.exports: $Exports<'eslint-plugin-import/lib/rules/no-restricted-paths'>; +} +declare module 'eslint-plugin-import/lib/rules/no-unassigned-import.js' { + declare module.exports: $Exports<'eslint-plugin-import/lib/rules/no-unassigned-import'>; +} +declare module 'eslint-plugin-import/lib/rules/no-unresolved.js' { + declare module.exports: $Exports<'eslint-plugin-import/lib/rules/no-unresolved'>; +} +declare module 'eslint-plugin-import/lib/rules/no-webpack-loader-syntax.js' { + declare module.exports: $Exports<'eslint-plugin-import/lib/rules/no-webpack-loader-syntax'>; +} +declare module 'eslint-plugin-import/lib/rules/order.js' { + declare module.exports: $Exports<'eslint-plugin-import/lib/rules/order'>; +} +declare module 'eslint-plugin-import/lib/rules/prefer-default-export.js' { + declare module.exports: $Exports<'eslint-plugin-import/lib/rules/prefer-default-export'>; +} +declare module 'eslint-plugin-import/lib/rules/unambiguous.js' { + declare module.exports: $Exports<'eslint-plugin-import/lib/rules/unambiguous'>; +} +declare module 'eslint-plugin-import/memo-parser/index.js' { + declare module.exports: $Exports<'eslint-plugin-import/memo-parser/index'>; +} diff --git a/flow-typed/npm/eslint-plugin-react_vx.x.x.js b/flow-typed/npm/eslint-plugin-react_vx.x.x.js new file mode 100644 index 0000000..6cb92d0 --- /dev/null +++ b/flow-typed/npm/eslint-plugin-react_vx.x.x.js @@ -0,0 +1,458 @@ +// flow-typed signature: d10208c144799153999864f9a6e0f681 +// flow-typed version: <>/eslint-plugin-react_v^6.3.0/flow_v0.36.0 + +/** + * This is an autogenerated libdef stub for: + * + * 'eslint-plugin-react' + * + * 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 'eslint-plugin-react' { + 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 'eslint-plugin-react/lib/rules/display-name' { + declare module.exports: any; +} + +declare module 'eslint-plugin-react/lib/rules/forbid-component-props' { + declare module.exports: any; +} + +declare module 'eslint-plugin-react/lib/rules/forbid-prop-types' { + declare module.exports: any; +} + +declare module 'eslint-plugin-react/lib/rules/jsx-boolean-value' { + declare module.exports: any; +} + +declare module 'eslint-plugin-react/lib/rules/jsx-closing-bracket-location' { + declare module.exports: any; +} + +declare module 'eslint-plugin-react/lib/rules/jsx-curly-spacing' { + declare module.exports: any; +} + +declare module 'eslint-plugin-react/lib/rules/jsx-equals-spacing' { + declare module.exports: any; +} + +declare module 'eslint-plugin-react/lib/rules/jsx-filename-extension' { + declare module.exports: any; +} + +declare module 'eslint-plugin-react/lib/rules/jsx-first-prop-new-line' { + declare module.exports: any; +} + +declare module 'eslint-plugin-react/lib/rules/jsx-handler-names' { + declare module.exports: any; +} + +declare module 'eslint-plugin-react/lib/rules/jsx-indent-props' { + declare module.exports: any; +} + +declare module 'eslint-plugin-react/lib/rules/jsx-indent' { + declare module.exports: any; +} + +declare module 'eslint-plugin-react/lib/rules/jsx-key' { + declare module.exports: any; +} + +declare module 'eslint-plugin-react/lib/rules/jsx-max-props-per-line' { + declare module.exports: any; +} + +declare module 'eslint-plugin-react/lib/rules/jsx-no-bind' { + declare module.exports: any; +} + +declare module 'eslint-plugin-react/lib/rules/jsx-no-comment-textnodes' { + declare module.exports: any; +} + +declare module 'eslint-plugin-react/lib/rules/jsx-no-duplicate-props' { + declare module.exports: any; +} + +declare module 'eslint-plugin-react/lib/rules/jsx-no-literals' { + declare module.exports: any; +} + +declare module 'eslint-plugin-react/lib/rules/jsx-no-target-blank' { + declare module.exports: any; +} + +declare module 'eslint-plugin-react/lib/rules/jsx-no-undef' { + declare module.exports: any; +} + +declare module 'eslint-plugin-react/lib/rules/jsx-pascal-case' { + declare module.exports: any; +} + +declare module 'eslint-plugin-react/lib/rules/jsx-sort-props' { + declare module.exports: any; +} + +declare module 'eslint-plugin-react/lib/rules/jsx-space-before-closing' { + declare module.exports: any; +} + +declare module 'eslint-plugin-react/lib/rules/jsx-tag-spacing' { + declare module.exports: any; +} + +declare module 'eslint-plugin-react/lib/rules/jsx-uses-react' { + declare module.exports: any; +} + +declare module 'eslint-plugin-react/lib/rules/jsx-uses-vars' { + declare module.exports: any; +} + +declare module 'eslint-plugin-react/lib/rules/jsx-wrap-multilines' { + declare module.exports: any; +} + +declare module 'eslint-plugin-react/lib/rules/no-children-prop' { + declare module.exports: any; +} + +declare module 'eslint-plugin-react/lib/rules/no-comment-textnodes' { + declare module.exports: any; +} + +declare module 'eslint-plugin-react/lib/rules/no-danger-with-children' { + declare module.exports: any; +} + +declare module 'eslint-plugin-react/lib/rules/no-danger' { + declare module.exports: any; +} + +declare module 'eslint-plugin-react/lib/rules/no-deprecated' { + declare module.exports: any; +} + +declare module 'eslint-plugin-react/lib/rules/no-did-mount-set-state' { + declare module.exports: any; +} + +declare module 'eslint-plugin-react/lib/rules/no-did-update-set-state' { + declare module.exports: any; +} + +declare module 'eslint-plugin-react/lib/rules/no-direct-mutation-state' { + declare module.exports: any; +} + +declare module 'eslint-plugin-react/lib/rules/no-find-dom-node' { + declare module.exports: any; +} + +declare module 'eslint-plugin-react/lib/rules/no-is-mounted' { + declare module.exports: any; +} + +declare module 'eslint-plugin-react/lib/rules/no-multi-comp' { + declare module.exports: any; +} + +declare module 'eslint-plugin-react/lib/rules/no-render-return-value' { + declare module.exports: any; +} + +declare module 'eslint-plugin-react/lib/rules/no-set-state' { + declare module.exports: any; +} + +declare module 'eslint-plugin-react/lib/rules/no-string-refs' { + declare module.exports: any; +} + +declare module 'eslint-plugin-react/lib/rules/no-unescaped-entities' { + declare module.exports: any; +} + +declare module 'eslint-plugin-react/lib/rules/no-unknown-property' { + declare module.exports: any; +} + +declare module 'eslint-plugin-react/lib/rules/no-unused-prop-types' { + declare module.exports: any; +} + +declare module 'eslint-plugin-react/lib/rules/prefer-es6-class' { + declare module.exports: any; +} + +declare module 'eslint-plugin-react/lib/rules/prefer-stateless-function' { + declare module.exports: any; +} + +declare module 'eslint-plugin-react/lib/rules/prop-types' { + declare module.exports: any; +} + +declare module 'eslint-plugin-react/lib/rules/react-in-jsx-scope' { + declare module.exports: any; +} + +declare module 'eslint-plugin-react/lib/rules/require-extension' { + declare module.exports: any; +} + +declare module 'eslint-plugin-react/lib/rules/require-optimization' { + declare module.exports: any; +} + +declare module 'eslint-plugin-react/lib/rules/require-render-return' { + declare module.exports: any; +} + +declare module 'eslint-plugin-react/lib/rules/self-closing-comp' { + declare module.exports: any; +} + +declare module 'eslint-plugin-react/lib/rules/sort-comp' { + declare module.exports: any; +} + +declare module 'eslint-plugin-react/lib/rules/sort-prop-types' { + declare module.exports: any; +} + +declare module 'eslint-plugin-react/lib/rules/style-prop-object' { + declare module.exports: any; +} + +declare module 'eslint-plugin-react/lib/rules/wrap-multilines' { + declare module.exports: any; +} + +declare module 'eslint-plugin-react/lib/util/Components' { + declare module.exports: any; +} + +declare module 'eslint-plugin-react/lib/util/getTokenBeforeClosingBracket' { + declare module.exports: any; +} + +declare module 'eslint-plugin-react/lib/util/pragma' { + declare module.exports: any; +} + +declare module 'eslint-plugin-react/lib/util/variable' { + declare module.exports: any; +} + +declare module 'eslint-plugin-react/lib/util/version' { + declare module.exports: any; +} + +// Filename aliases +declare module 'eslint-plugin-react/index' { + declare module.exports: $Exports<'eslint-plugin-react'>; +} +declare module 'eslint-plugin-react/index.js' { + declare module.exports: $Exports<'eslint-plugin-react'>; +} +declare module 'eslint-plugin-react/lib/rules/display-name.js' { + declare module.exports: $Exports<'eslint-plugin-react/lib/rules/display-name'>; +} +declare module 'eslint-plugin-react/lib/rules/forbid-component-props.js' { + declare module.exports: $Exports<'eslint-plugin-react/lib/rules/forbid-component-props'>; +} +declare module 'eslint-plugin-react/lib/rules/forbid-prop-types.js' { + declare module.exports: $Exports<'eslint-plugin-react/lib/rules/forbid-prop-types'>; +} +declare module 'eslint-plugin-react/lib/rules/jsx-boolean-value.js' { + declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-boolean-value'>; +} +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-curly-spacing.js' { + declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-curly-spacing'>; +} +declare module 'eslint-plugin-react/lib/rules/jsx-equals-spacing.js' { + declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-equals-spacing'>; +} +declare module 'eslint-plugin-react/lib/rules/jsx-filename-extension.js' { + declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-filename-extension'>; +} +declare module 'eslint-plugin-react/lib/rules/jsx-first-prop-new-line.js' { + declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-first-prop-new-line'>; +} +declare module 'eslint-plugin-react/lib/rules/jsx-handler-names.js' { + declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-handler-names'>; +} +declare module 'eslint-plugin-react/lib/rules/jsx-indent-props.js' { + declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-indent-props'>; +} +declare module 'eslint-plugin-react/lib/rules/jsx-indent.js' { + declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-indent'>; +} +declare module 'eslint-plugin-react/lib/rules/jsx-key.js' { + declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-key'>; +} +declare module 'eslint-plugin-react/lib/rules/jsx-max-props-per-line.js' { + declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-max-props-per-line'>; +} +declare module 'eslint-plugin-react/lib/rules/jsx-no-bind.js' { + declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-no-bind'>; +} +declare module 'eslint-plugin-react/lib/rules/jsx-no-comment-textnodes.js' { + declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-no-comment-textnodes'>; +} +declare module 'eslint-plugin-react/lib/rules/jsx-no-duplicate-props.js' { + declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-no-duplicate-props'>; +} +declare module 'eslint-plugin-react/lib/rules/jsx-no-literals.js' { + declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-no-literals'>; +} +declare module 'eslint-plugin-react/lib/rules/jsx-no-target-blank.js' { + declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-no-target-blank'>; +} +declare module 'eslint-plugin-react/lib/rules/jsx-no-undef.js' { + declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-no-undef'>; +} +declare module 'eslint-plugin-react/lib/rules/jsx-pascal-case.js' { + declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-pascal-case'>; +} +declare module 'eslint-plugin-react/lib/rules/jsx-sort-props.js' { + declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-sort-props'>; +} +declare module 'eslint-plugin-react/lib/rules/jsx-space-before-closing.js' { + declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-space-before-closing'>; +} +declare module 'eslint-plugin-react/lib/rules/jsx-tag-spacing.js' { + declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-tag-spacing'>; +} +declare module 'eslint-plugin-react/lib/rules/jsx-uses-react.js' { + declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-uses-react'>; +} +declare module 'eslint-plugin-react/lib/rules/jsx-uses-vars.js' { + declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-uses-vars'>; +} +declare module 'eslint-plugin-react/lib/rules/jsx-wrap-multilines.js' { + declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-wrap-multilines'>; +} +declare module 'eslint-plugin-react/lib/rules/no-children-prop.js' { + declare module.exports: $Exports<'eslint-plugin-react/lib/rules/no-children-prop'>; +} +declare module 'eslint-plugin-react/lib/rules/no-comment-textnodes.js' { + declare module.exports: $Exports<'eslint-plugin-react/lib/rules/no-comment-textnodes'>; +} +declare module 'eslint-plugin-react/lib/rules/no-danger-with-children.js' { + declare module.exports: $Exports<'eslint-plugin-react/lib/rules/no-danger-with-children'>; +} +declare module 'eslint-plugin-react/lib/rules/no-danger.js' { + declare module.exports: $Exports<'eslint-plugin-react/lib/rules/no-danger'>; +} +declare module 'eslint-plugin-react/lib/rules/no-deprecated.js' { + declare module.exports: $Exports<'eslint-plugin-react/lib/rules/no-deprecated'>; +} +declare module 'eslint-plugin-react/lib/rules/no-did-mount-set-state.js' { + declare module.exports: $Exports<'eslint-plugin-react/lib/rules/no-did-mount-set-state'>; +} +declare module 'eslint-plugin-react/lib/rules/no-did-update-set-state.js' { + declare module.exports: $Exports<'eslint-plugin-react/lib/rules/no-did-update-set-state'>; +} +declare module 'eslint-plugin-react/lib/rules/no-direct-mutation-state.js' { + declare module.exports: $Exports<'eslint-plugin-react/lib/rules/no-direct-mutation-state'>; +} +declare module 'eslint-plugin-react/lib/rules/no-find-dom-node.js' { + declare module.exports: $Exports<'eslint-plugin-react/lib/rules/no-find-dom-node'>; +} +declare module 'eslint-plugin-react/lib/rules/no-is-mounted.js' { + declare module.exports: $Exports<'eslint-plugin-react/lib/rules/no-is-mounted'>; +} +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-render-return-value.js' { + declare module.exports: $Exports<'eslint-plugin-react/lib/rules/no-render-return-value'>; +} +declare module 'eslint-plugin-react/lib/rules/no-set-state.js' { + declare module.exports: $Exports<'eslint-plugin-react/lib/rules/no-set-state'>; +} +declare module 'eslint-plugin-react/lib/rules/no-string-refs.js' { + declare module.exports: $Exports<'eslint-plugin-react/lib/rules/no-string-refs'>; +} +declare module 'eslint-plugin-react/lib/rules/no-unescaped-entities.js' { + declare module.exports: $Exports<'eslint-plugin-react/lib/rules/no-unescaped-entities'>; +} +declare module 'eslint-plugin-react/lib/rules/no-unknown-property.js' { + declare module.exports: $Exports<'eslint-plugin-react/lib/rules/no-unknown-property'>; +} +declare module 'eslint-plugin-react/lib/rules/no-unused-prop-types.js' { + declare module.exports: $Exports<'eslint-plugin-react/lib/rules/no-unused-prop-types'>; +} +declare module 'eslint-plugin-react/lib/rules/prefer-es6-class.js' { + declare module.exports: $Exports<'eslint-plugin-react/lib/rules/prefer-es6-class'>; +} +declare module 'eslint-plugin-react/lib/rules/prefer-stateless-function.js' { + declare module.exports: $Exports<'eslint-plugin-react/lib/rules/prefer-stateless-function'>; +} +declare module 'eslint-plugin-react/lib/rules/prop-types.js' { + declare module.exports: $Exports<'eslint-plugin-react/lib/rules/prop-types'>; +} +declare module 'eslint-plugin-react/lib/rules/react-in-jsx-scope.js' { + declare module.exports: $Exports<'eslint-plugin-react/lib/rules/react-in-jsx-scope'>; +} +declare module 'eslint-plugin-react/lib/rules/require-extension.js' { + declare module.exports: $Exports<'eslint-plugin-react/lib/rules/require-extension'>; +} +declare module 'eslint-plugin-react/lib/rules/require-optimization.js' { + declare module.exports: $Exports<'eslint-plugin-react/lib/rules/require-optimization'>; +} +declare module 'eslint-plugin-react/lib/rules/require-render-return.js' { + declare module.exports: $Exports<'eslint-plugin-react/lib/rules/require-render-return'>; +} +declare module 'eslint-plugin-react/lib/rules/self-closing-comp.js' { + declare module.exports: $Exports<'eslint-plugin-react/lib/rules/self-closing-comp'>; +} +declare module 'eslint-plugin-react/lib/rules/sort-comp.js' { + declare module.exports: $Exports<'eslint-plugin-react/lib/rules/sort-comp'>; +} +declare module 'eslint-plugin-react/lib/rules/sort-prop-types.js' { + declare module.exports: $Exports<'eslint-plugin-react/lib/rules/sort-prop-types'>; +} +declare module 'eslint-plugin-react/lib/rules/style-prop-object.js' { + declare module.exports: $Exports<'eslint-plugin-react/lib/rules/style-prop-object'>; +} +declare module 'eslint-plugin-react/lib/rules/wrap-multilines.js' { + declare module.exports: $Exports<'eslint-plugin-react/lib/rules/wrap-multilines'>; +} +declare module 'eslint-plugin-react/lib/util/Components.js' { + declare module.exports: $Exports<'eslint-plugin-react/lib/util/Components'>; +} +declare module 'eslint-plugin-react/lib/util/getTokenBeforeClosingBracket.js' { + declare module.exports: $Exports<'eslint-plugin-react/lib/util/getTokenBeforeClosingBracket'>; +} +declare module 'eslint-plugin-react/lib/util/pragma.js' { + declare module.exports: $Exports<'eslint-plugin-react/lib/util/pragma'>; +} +declare module 'eslint-plugin-react/lib/util/variable.js' { + declare module.exports: $Exports<'eslint-plugin-react/lib/util/variable'>; +} +declare module 'eslint-plugin-react/lib/util/version.js' { + declare module.exports: $Exports<'eslint-plugin-react/lib/util/version'>; +} diff --git a/flow-typed/npm/eslint_vx.x.x.js b/flow-typed/npm/eslint_vx.x.x.js new file mode 100644 index 0000000..ebfe66a --- /dev/null +++ b/flow-typed/npm/eslint_vx.x.x.js @@ -0,0 +1,2146 @@ +// flow-typed signature: 27464b59eed425e69bde7c79940e69c1 +// flow-typed version: <>/eslint_v^3.5.0/flow_v0.36.0 + +/** + * This is an autogenerated libdef stub for: + * + * 'eslint' + * + * 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 'eslint' { + 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 'eslint/bin/eslint' { + declare module.exports: any; +} + +declare module 'eslint/conf/cli-options' { + declare module.exports: any; +} + +declare module 'eslint/conf/environments' { + declare module.exports: any; +} + +declare module 'eslint/conf/eslint-all' { + declare module.exports: any; +} + +declare module 'eslint/lib/api' { + declare module.exports: any; +} + +declare module 'eslint/lib/ast-utils' { + declare module.exports: any; +} + +declare module 'eslint/lib/cli-engine' { + declare module.exports: any; +} + +declare module 'eslint/lib/cli' { + declare module.exports: any; +} + +declare module 'eslint/lib/code-path-analysis/code-path-analyzer' { + declare module.exports: any; +} + +declare module 'eslint/lib/code-path-analysis/code-path-segment' { + declare module.exports: any; +} + +declare module 'eslint/lib/code-path-analysis/code-path-state' { + declare module.exports: any; +} + +declare module 'eslint/lib/code-path-analysis/code-path' { + declare module.exports: any; +} + +declare module 'eslint/lib/code-path-analysis/debug-helpers' { + declare module.exports: any; +} + +declare module 'eslint/lib/code-path-analysis/fork-context' { + declare module.exports: any; +} + +declare module 'eslint/lib/code-path-analysis/id-generator' { + declare module.exports: any; +} + +declare module 'eslint/lib/config' { + declare module.exports: any; +} + +declare module 'eslint/lib/config/autoconfig' { + declare module.exports: any; +} + +declare module 'eslint/lib/config/config-file' { + declare module.exports: any; +} + +declare module 'eslint/lib/config/config-initializer' { + declare module.exports: any; +} + +declare module 'eslint/lib/config/config-ops' { + declare module.exports: any; +} + +declare module 'eslint/lib/config/config-rule' { + declare module.exports: any; +} + +declare module 'eslint/lib/config/config-validator' { + declare module.exports: any; +} + +declare module 'eslint/lib/config/environments' { + declare module.exports: any; +} + +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; +} + +declare module 'eslint/lib/formatters/checkstyle' { + declare module.exports: any; +} + +declare module 'eslint/lib/formatters/codeframe' { + declare module.exports: any; +} + +declare module 'eslint/lib/formatters/compact' { + declare module.exports: any; +} + +declare module 'eslint/lib/formatters/html' { + declare module.exports: any; +} + +declare module 'eslint/lib/formatters/jslint-xml' { + declare module.exports: any; +} + +declare module 'eslint/lib/formatters/json' { + declare module.exports: any; +} + +declare module 'eslint/lib/formatters/junit' { + declare module.exports: any; +} + +declare module 'eslint/lib/formatters/stylish' { + declare module.exports: any; +} + +declare module 'eslint/lib/formatters/table' { + declare module.exports: any; +} + +declare module 'eslint/lib/formatters/tap' { + declare module.exports: any; +} + +declare module 'eslint/lib/formatters/unix' { + declare module.exports: any; +} + +declare module 'eslint/lib/formatters/visualstudio' { + declare module.exports: any; +} + +declare module 'eslint/lib/ignored-paths' { + declare module.exports: any; +} + +declare module 'eslint/lib/internal-rules/internal-consistent-docs-description' { + declare module.exports: any; +} + +declare module 'eslint/lib/internal-rules/internal-no-invalid-meta' { + declare module.exports: any; +} + +declare module 'eslint/lib/load-rules' { + declare module.exports: any; +} + +declare module 'eslint/lib/logging' { + declare module.exports: any; +} + +declare module 'eslint/lib/options' { + declare module.exports: any; +} + +declare module 'eslint/lib/rule-context' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/accessor-pairs' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/array-bracket-spacing' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/array-callback-return' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/arrow-body-style' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/arrow-parens' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/arrow-spacing' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/block-scoped-var' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/block-spacing' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/brace-style' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/callback-return' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/camelcase' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/capitalized-comments' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/class-methods-use-this' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/comma-dangle' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/comma-spacing' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/comma-style' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/complexity' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/computed-property-spacing' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/consistent-return' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/consistent-this' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/constructor-super' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/curly' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/default-case' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/dot-location' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/dot-notation' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/eol-last' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/eqeqeq' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/func-call-spacing' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/func-name-matching' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/func-names' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/func-style' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/generator-star-spacing' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/global-require' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/guard-for-in' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/handle-callback-err' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/id-blacklist' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/id-length' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/id-match' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/indent' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/init-declarations' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/jsx-quotes' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/key-spacing' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/keyword-spacing' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/line-comment-position' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/linebreak-style' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/lines-around-comment' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/lines-around-directive' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/max-depth' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/max-len' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/max-lines' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/max-nested-callbacks' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/max-params' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/max-statements-per-line' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/max-statements' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/multiline-ternary' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/new-cap' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/new-parens' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/newline-after-var' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/newline-before-return' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/newline-per-chained-call' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-alert' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-array-constructor' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-bitwise' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-caller' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-case-declarations' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-catch-shadow' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-class-assign' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-cond-assign' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-confusing-arrow' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-console' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-const-assign' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-constant-condition' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-continue' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-control-regex' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-debugger' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-delete-var' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-div-regex' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-dupe-args' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-dupe-class-members' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-dupe-keys' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-duplicate-case' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-duplicate-imports' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-else-return' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-empty-character-class' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-empty-function' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-empty-pattern' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-empty' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-eq-null' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-eval' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-ex-assign' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-extend-native' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-extra-bind' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-extra-boolean-cast' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-extra-label' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-extra-parens' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-extra-semi' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-fallthrough' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-floating-decimal' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-func-assign' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-global-assign' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-implicit-coercion' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-implicit-globals' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-implied-eval' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-inline-comments' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-inner-declarations' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-invalid-regexp' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-invalid-this' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-irregular-whitespace' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-iterator' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-label-var' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-labels' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-lone-blocks' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-lonely-if' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-loop-func' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-magic-numbers' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-mixed-operators' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-mixed-requires' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-mixed-spaces-and-tabs' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-multi-spaces' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-multi-str' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-multiple-empty-lines' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-native-reassign' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-negated-condition' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-negated-in-lhs' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-nested-ternary' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-new-func' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-new-object' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-new-require' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-new-symbol' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-new-wrappers' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-new' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-obj-calls' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-octal-escape' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-octal' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-param-reassign' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-path-concat' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-plusplus' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-process-env' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-process-exit' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-proto' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-prototype-builtins' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-redeclare' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-regex-spaces' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-restricted-globals' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-restricted-imports' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-restricted-modules' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-restricted-properties' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-restricted-syntax' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-return-assign' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-return-await' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-script-url' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-self-assign' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-self-compare' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-sequences' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-shadow-restricted-names' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-shadow' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-spaced-func' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-sparse-arrays' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-sync' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-tabs' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-template-curly-in-string' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-ternary' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-this-before-super' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-throw-literal' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-trailing-spaces' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-undef-init' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-undef' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-undefined' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-underscore-dangle' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-unexpected-multiline' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-unmodified-loop-condition' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-unneeded-ternary' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-unreachable' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-unsafe-finally' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-unsafe-negation' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-unused-expressions' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-unused-labels' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-unused-vars' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-use-before-define' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-useless-call' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-useless-computed-key' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-useless-concat' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-useless-constructor' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-useless-escape' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-useless-rename' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-useless-return' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-var' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-void' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-warning-comments' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-whitespace-before-property' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/no-with' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/object-curly-newline' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/object-curly-spacing' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/object-property-newline' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/object-shorthand' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/one-var-declaration-per-line' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/one-var' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/operator-assignment' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/operator-linebreak' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/padded-blocks' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/prefer-arrow-callback' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/prefer-const' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/prefer-numeric-literals' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/prefer-reflect' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/prefer-rest-params' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/prefer-spread' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/prefer-template' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/quote-props' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/quotes' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/radix' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/require-await' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/require-jsdoc' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/require-yield' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/rest-spread-spacing' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/semi-spacing' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/semi' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/sort-imports' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/sort-keys' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/sort-vars' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/space-before-blocks' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/space-before-function-paren' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/space-in-parens' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/space-infix-ops' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/space-unary-ops' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/spaced-comment' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/strict' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/symbol-description' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/template-curly-spacing' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/unicode-bom' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/use-isnan' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/valid-jsdoc' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/valid-typeof' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/vars-on-top' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/wrap-iife' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/wrap-regex' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/yield-star-spacing' { + declare module.exports: any; +} + +declare module 'eslint/lib/rules/yoda' { + declare module.exports: any; +} + +declare module 'eslint/lib/testers/event-generator-tester' { + declare module.exports: any; +} + +declare module 'eslint/lib/testers/rule-tester' { + declare module.exports: any; +} + +declare module 'eslint/lib/timing' { + declare module.exports: any; +} + +declare module 'eslint/lib/token-store' { + declare module.exports: any; +} + +declare module 'eslint/lib/util/comment-event-generator' { + declare module.exports: any; +} + +declare module 'eslint/lib/util/glob-util' { + declare module.exports: any; +} + +declare module 'eslint/lib/util/glob' { + declare module.exports: any; +} + +declare module 'eslint/lib/util/hash' { + declare module.exports: any; +} + +declare module 'eslint/lib/util/keywords' { + declare module.exports: any; +} + +declare module 'eslint/lib/util/module-resolver' { + declare module.exports: any; +} + +declare module 'eslint/lib/util/node-event-generator' { + declare module.exports: any; +} + +declare module 'eslint/lib/util/npm-util' { + declare module.exports: any; +} + +declare module 'eslint/lib/util/path-util' { + declare module.exports: any; +} + +declare module 'eslint/lib/util/patterns/letters' { + declare module.exports: any; +} + +declare module 'eslint/lib/util/rule-fixer' { + declare module.exports: any; +} + +declare module 'eslint/lib/util/source-code-fixer' { + declare module.exports: any; +} + +declare module 'eslint/lib/util/source-code-util' { + declare module.exports: any; +} + +declare module 'eslint/lib/util/source-code' { + declare module.exports: any; +} + +declare module 'eslint/lib/util/traverser' { + declare module.exports: any; +} + +declare module 'eslint/lib/util/xml-escape' { + declare module.exports: any; +} + +// Filename aliases +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/environments.js' { + declare module.exports: $Exports<'eslint/conf/environments'>; +} +declare module 'eslint/conf/eslint-all.js' { + declare module.exports: $Exports<'eslint/conf/eslint-all'>; +} +declare module 'eslint/lib/api.js' { + declare module.exports: $Exports<'eslint/lib/api'>; +} +declare module 'eslint/lib/ast-utils.js' { + declare module.exports: $Exports<'eslint/lib/ast-utils'>; +} +declare module 'eslint/lib/cli-engine.js' { + declare module.exports: $Exports<'eslint/lib/cli-engine'>; +} +declare module 'eslint/lib/cli.js' { + declare module.exports: $Exports<'eslint/lib/cli'>; +} +declare module 'eslint/lib/code-path-analysis/code-path-analyzer.js' { + declare module.exports: $Exports<'eslint/lib/code-path-analysis/code-path-analyzer'>; +} +declare module 'eslint/lib/code-path-analysis/code-path-segment.js' { + declare module.exports: $Exports<'eslint/lib/code-path-analysis/code-path-segment'>; +} +declare module 'eslint/lib/code-path-analysis/code-path-state.js' { + declare module.exports: $Exports<'eslint/lib/code-path-analysis/code-path-state'>; +} +declare module 'eslint/lib/code-path-analysis/code-path.js' { + declare module.exports: $Exports<'eslint/lib/code-path-analysis/code-path'>; +} +declare module 'eslint/lib/code-path-analysis/debug-helpers.js' { + declare module.exports: $Exports<'eslint/lib/code-path-analysis/debug-helpers'>; +} +declare module 'eslint/lib/code-path-analysis/fork-context.js' { + declare module.exports: $Exports<'eslint/lib/code-path-analysis/fork-context'>; +} +declare module 'eslint/lib/code-path-analysis/id-generator.js' { + declare module.exports: $Exports<'eslint/lib/code-path-analysis/id-generator'>; +} +declare module 'eslint/lib/config.js' { + declare module.exports: $Exports<'eslint/lib/config'>; +} +declare module 'eslint/lib/config/autoconfig.js' { + declare module.exports: $Exports<'eslint/lib/config/autoconfig'>; +} +declare module 'eslint/lib/config/config-file.js' { + declare module.exports: $Exports<'eslint/lib/config/config-file'>; +} +declare module 'eslint/lib/config/config-initializer.js' { + declare module.exports: $Exports<'eslint/lib/config/config-initializer'>; +} +declare module 'eslint/lib/config/config-ops.js' { + declare module.exports: $Exports<'eslint/lib/config/config-ops'>; +} +declare module 'eslint/lib/config/config-rule.js' { + declare module.exports: $Exports<'eslint/lib/config/config-rule'>; +} +declare module 'eslint/lib/config/config-validator.js' { + declare module.exports: $Exports<'eslint/lib/config/config-validator'>; +} +declare module 'eslint/lib/config/environments.js' { + declare module.exports: $Exports<'eslint/lib/config/environments'>; +} +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'>; +} +declare module 'eslint/lib/formatters/checkstyle.js' { + declare module.exports: $Exports<'eslint/lib/formatters/checkstyle'>; +} +declare module 'eslint/lib/formatters/codeframe.js' { + declare module.exports: $Exports<'eslint/lib/formatters/codeframe'>; +} +declare module 'eslint/lib/formatters/compact.js' { + declare module.exports: $Exports<'eslint/lib/formatters/compact'>; +} +declare module 'eslint/lib/formatters/html.js' { + declare module.exports: $Exports<'eslint/lib/formatters/html'>; +} +declare module 'eslint/lib/formatters/jslint-xml.js' { + declare module.exports: $Exports<'eslint/lib/formatters/jslint-xml'>; +} +declare module 'eslint/lib/formatters/json.js' { + declare module.exports: $Exports<'eslint/lib/formatters/json'>; +} +declare module 'eslint/lib/formatters/junit.js' { + declare module.exports: $Exports<'eslint/lib/formatters/junit'>; +} +declare module 'eslint/lib/formatters/stylish.js' { + declare module.exports: $Exports<'eslint/lib/formatters/stylish'>; +} +declare module 'eslint/lib/formatters/table.js' { + declare module.exports: $Exports<'eslint/lib/formatters/table'>; +} +declare module 'eslint/lib/formatters/tap.js' { + declare module.exports: $Exports<'eslint/lib/formatters/tap'>; +} +declare module 'eslint/lib/formatters/unix.js' { + declare module.exports: $Exports<'eslint/lib/formatters/unix'>; +} +declare module 'eslint/lib/formatters/visualstudio.js' { + declare module.exports: $Exports<'eslint/lib/formatters/visualstudio'>; +} +declare module 'eslint/lib/ignored-paths.js' { + declare module.exports: $Exports<'eslint/lib/ignored-paths'>; +} +declare module 'eslint/lib/internal-rules/internal-consistent-docs-description.js' { + declare module.exports: $Exports<'eslint/lib/internal-rules/internal-consistent-docs-description'>; +} +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/load-rules.js' { + declare module.exports: $Exports<'eslint/lib/load-rules'>; +} +declare module 'eslint/lib/logging.js' { + declare module.exports: $Exports<'eslint/lib/logging'>; +} +declare module 'eslint/lib/options.js' { + declare module.exports: $Exports<'eslint/lib/options'>; +} +declare module 'eslint/lib/rule-context.js' { + declare module.exports: $Exports<'eslint/lib/rule-context'>; +} +declare module 'eslint/lib/rules.js' { + declare module.exports: $Exports<'eslint/lib/rules'>; +} +declare module 'eslint/lib/rules/accessor-pairs.js' { + declare module.exports: $Exports<'eslint/lib/rules/accessor-pairs'>; +} +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/arrow-body-style.js' { + declare module.exports: $Exports<'eslint/lib/rules/arrow-body-style'>; +} +declare module 'eslint/lib/rules/arrow-parens.js' { + declare module.exports: $Exports<'eslint/lib/rules/arrow-parens'>; +} +declare module 'eslint/lib/rules/arrow-spacing.js' { + declare module.exports: $Exports<'eslint/lib/rules/arrow-spacing'>; +} +declare module 'eslint/lib/rules/block-scoped-var.js' { + declare module.exports: $Exports<'eslint/lib/rules/block-scoped-var'>; +} +declare module 'eslint/lib/rules/block-spacing.js' { + declare module.exports: $Exports<'eslint/lib/rules/block-spacing'>; +} +declare module 'eslint/lib/rules/brace-style.js' { + declare module.exports: $Exports<'eslint/lib/rules/brace-style'>; +} +declare module 'eslint/lib/rules/callback-return.js' { + declare module.exports: $Exports<'eslint/lib/rules/callback-return'>; +} +declare module 'eslint/lib/rules/camelcase.js' { + declare module.exports: $Exports<'eslint/lib/rules/camelcase'>; +} +declare module 'eslint/lib/rules/capitalized-comments.js' { + declare module.exports: $Exports<'eslint/lib/rules/capitalized-comments'>; +} +declare module 'eslint/lib/rules/class-methods-use-this.js' { + declare module.exports: $Exports<'eslint/lib/rules/class-methods-use-this'>; +} +declare module 'eslint/lib/rules/comma-dangle.js' { + declare module.exports: $Exports<'eslint/lib/rules/comma-dangle'>; +} +declare module 'eslint/lib/rules/comma-spacing.js' { + declare module.exports: $Exports<'eslint/lib/rules/comma-spacing'>; +} +declare module 'eslint/lib/rules/comma-style.js' { + declare module.exports: $Exports<'eslint/lib/rules/comma-style'>; +} +declare module 'eslint/lib/rules/complexity.js' { + declare module.exports: $Exports<'eslint/lib/rules/complexity'>; +} +declare module 'eslint/lib/rules/computed-property-spacing.js' { + declare module.exports: $Exports<'eslint/lib/rules/computed-property-spacing'>; +} +declare module 'eslint/lib/rules/consistent-return.js' { + declare module.exports: $Exports<'eslint/lib/rules/consistent-return'>; +} +declare module 'eslint/lib/rules/consistent-this.js' { + declare module.exports: $Exports<'eslint/lib/rules/consistent-this'>; +} +declare module 'eslint/lib/rules/constructor-super.js' { + declare module.exports: $Exports<'eslint/lib/rules/constructor-super'>; +} +declare module 'eslint/lib/rules/curly.js' { + declare module.exports: $Exports<'eslint/lib/rules/curly'>; +} +declare module 'eslint/lib/rules/default-case.js' { + declare module.exports: $Exports<'eslint/lib/rules/default-case'>; +} +declare module 'eslint/lib/rules/dot-location.js' { + declare module.exports: $Exports<'eslint/lib/rules/dot-location'>; +} +declare module 'eslint/lib/rules/dot-notation.js' { + declare module.exports: $Exports<'eslint/lib/rules/dot-notation'>; +} +declare module 'eslint/lib/rules/eol-last.js' { + declare module.exports: $Exports<'eslint/lib/rules/eol-last'>; +} +declare module 'eslint/lib/rules/eqeqeq.js' { + declare module.exports: $Exports<'eslint/lib/rules/eqeqeq'>; +} +declare module 'eslint/lib/rules/func-call-spacing.js' { + declare module.exports: $Exports<'eslint/lib/rules/func-call-spacing'>; +} +declare module 'eslint/lib/rules/func-name-matching.js' { + declare module.exports: $Exports<'eslint/lib/rules/func-name-matching'>; +} +declare module 'eslint/lib/rules/func-names.js' { + declare module.exports: $Exports<'eslint/lib/rules/func-names'>; +} +declare module 'eslint/lib/rules/func-style.js' { + declare module.exports: $Exports<'eslint/lib/rules/func-style'>; +} +declare module 'eslint/lib/rules/generator-star-spacing.js' { + declare module.exports: $Exports<'eslint/lib/rules/generator-star-spacing'>; +} +declare module 'eslint/lib/rules/global-require.js' { + declare module.exports: $Exports<'eslint/lib/rules/global-require'>; +} +declare module 'eslint/lib/rules/guard-for-in.js' { + declare module.exports: $Exports<'eslint/lib/rules/guard-for-in'>; +} +declare module 'eslint/lib/rules/handle-callback-err.js' { + declare module.exports: $Exports<'eslint/lib/rules/handle-callback-err'>; +} +declare module 'eslint/lib/rules/id-blacklist.js' { + declare module.exports: $Exports<'eslint/lib/rules/id-blacklist'>; +} +declare module 'eslint/lib/rules/id-length.js' { + declare module.exports: $Exports<'eslint/lib/rules/id-length'>; +} +declare module 'eslint/lib/rules/id-match.js' { + declare module.exports: $Exports<'eslint/lib/rules/id-match'>; +} +declare module 'eslint/lib/rules/indent.js' { + declare module.exports: $Exports<'eslint/lib/rules/indent'>; +} +declare module 'eslint/lib/rules/init-declarations.js' { + declare module.exports: $Exports<'eslint/lib/rules/init-declarations'>; +} +declare module 'eslint/lib/rules/jsx-quotes.js' { + declare module.exports: $Exports<'eslint/lib/rules/jsx-quotes'>; +} +declare module 'eslint/lib/rules/key-spacing.js' { + declare module.exports: $Exports<'eslint/lib/rules/key-spacing'>; +} +declare module 'eslint/lib/rules/keyword-spacing.js' { + declare module.exports: $Exports<'eslint/lib/rules/keyword-spacing'>; +} +declare module 'eslint/lib/rules/line-comment-position.js' { + declare module.exports: $Exports<'eslint/lib/rules/line-comment-position'>; +} +declare module 'eslint/lib/rules/linebreak-style.js' { + declare module.exports: $Exports<'eslint/lib/rules/linebreak-style'>; +} +declare module 'eslint/lib/rules/lines-around-comment.js' { + declare module.exports: $Exports<'eslint/lib/rules/lines-around-comment'>; +} +declare module 'eslint/lib/rules/lines-around-directive.js' { + declare module.exports: $Exports<'eslint/lib/rules/lines-around-directive'>; +} +declare module 'eslint/lib/rules/max-depth.js' { + declare module.exports: $Exports<'eslint/lib/rules/max-depth'>; +} +declare module 'eslint/lib/rules/max-len.js' { + declare module.exports: $Exports<'eslint/lib/rules/max-len'>; +} +declare module 'eslint/lib/rules/max-lines.js' { + declare module.exports: $Exports<'eslint/lib/rules/max-lines'>; +} +declare module 'eslint/lib/rules/max-nested-callbacks.js' { + declare module.exports: $Exports<'eslint/lib/rules/max-nested-callbacks'>; +} +declare module 'eslint/lib/rules/max-params.js' { + declare module.exports: $Exports<'eslint/lib/rules/max-params'>; +} +declare module 'eslint/lib/rules/max-statements-per-line.js' { + declare module.exports: $Exports<'eslint/lib/rules/max-statements-per-line'>; +} +declare module 'eslint/lib/rules/max-statements.js' { + declare module.exports: $Exports<'eslint/lib/rules/max-statements'>; +} +declare module 'eslint/lib/rules/multiline-ternary.js' { + declare module.exports: $Exports<'eslint/lib/rules/multiline-ternary'>; +} +declare module 'eslint/lib/rules/new-cap.js' { + declare module.exports: $Exports<'eslint/lib/rules/new-cap'>; +} +declare module 'eslint/lib/rules/new-parens.js' { + declare module.exports: $Exports<'eslint/lib/rules/new-parens'>; +} +declare module 'eslint/lib/rules/newline-after-var.js' { + declare module.exports: $Exports<'eslint/lib/rules/newline-after-var'>; +} +declare module 'eslint/lib/rules/newline-before-return.js' { + declare module.exports: $Exports<'eslint/lib/rules/newline-before-return'>; +} +declare module 'eslint/lib/rules/newline-per-chained-call.js' { + declare module.exports: $Exports<'eslint/lib/rules/newline-per-chained-call'>; +} +declare module 'eslint/lib/rules/no-alert.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-alert'>; +} +declare module 'eslint/lib/rules/no-array-constructor.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-array-constructor'>; +} +declare module 'eslint/lib/rules/no-bitwise.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-bitwise'>; +} +declare module 'eslint/lib/rules/no-caller.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-caller'>; +} +declare module 'eslint/lib/rules/no-case-declarations.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-case-declarations'>; +} +declare module 'eslint/lib/rules/no-catch-shadow.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-catch-shadow'>; +} +declare module 'eslint/lib/rules/no-class-assign.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-class-assign'>; +} +declare module 'eslint/lib/rules/no-cond-assign.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-cond-assign'>; +} +declare module 'eslint/lib/rules/no-confusing-arrow.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-confusing-arrow'>; +} +declare module 'eslint/lib/rules/no-console.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-console'>; +} +declare module 'eslint/lib/rules/no-const-assign.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-const-assign'>; +} +declare module 'eslint/lib/rules/no-constant-condition.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-constant-condition'>; +} +declare module 'eslint/lib/rules/no-continue.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-continue'>; +} +declare module 'eslint/lib/rules/no-control-regex.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-control-regex'>; +} +declare module 'eslint/lib/rules/no-debugger.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-debugger'>; +} +declare module 'eslint/lib/rules/no-delete-var.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-delete-var'>; +} +declare module 'eslint/lib/rules/no-div-regex.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-div-regex'>; +} +declare module 'eslint/lib/rules/no-dupe-args.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-dupe-args'>; +} +declare module 'eslint/lib/rules/no-dupe-class-members.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-dupe-class-members'>; +} +declare module 'eslint/lib/rules/no-dupe-keys.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-dupe-keys'>; +} +declare module 'eslint/lib/rules/no-duplicate-case.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-duplicate-case'>; +} +declare module 'eslint/lib/rules/no-duplicate-imports.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-duplicate-imports'>; +} +declare module 'eslint/lib/rules/no-else-return.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-else-return'>; +} +declare module 'eslint/lib/rules/no-empty-character-class.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-empty-character-class'>; +} +declare module 'eslint/lib/rules/no-empty-function.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-empty-function'>; +} +declare module 'eslint/lib/rules/no-empty-pattern.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-empty-pattern'>; +} +declare module 'eslint/lib/rules/no-empty.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-empty'>; +} +declare module 'eslint/lib/rules/no-eq-null.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-eq-null'>; +} +declare module 'eslint/lib/rules/no-eval.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-eval'>; +} +declare module 'eslint/lib/rules/no-ex-assign.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-ex-assign'>; +} +declare module 'eslint/lib/rules/no-extend-native.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-extend-native'>; +} +declare module 'eslint/lib/rules/no-extra-bind.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-extra-bind'>; +} +declare module 'eslint/lib/rules/no-extra-boolean-cast.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-extra-boolean-cast'>; +} +declare module 'eslint/lib/rules/no-extra-label.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-extra-label'>; +} +declare module 'eslint/lib/rules/no-extra-parens.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-extra-parens'>; +} +declare module 'eslint/lib/rules/no-extra-semi.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-extra-semi'>; +} +declare module 'eslint/lib/rules/no-fallthrough.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-fallthrough'>; +} +declare module 'eslint/lib/rules/no-floating-decimal.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-floating-decimal'>; +} +declare module 'eslint/lib/rules/no-func-assign.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-func-assign'>; +} +declare module 'eslint/lib/rules/no-global-assign.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-global-assign'>; +} +declare module 'eslint/lib/rules/no-implicit-coercion.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-implicit-coercion'>; +} +declare module 'eslint/lib/rules/no-implicit-globals.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-implicit-globals'>; +} +declare module 'eslint/lib/rules/no-implied-eval.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-implied-eval'>; +} +declare module 'eslint/lib/rules/no-inline-comments.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-inline-comments'>; +} +declare module 'eslint/lib/rules/no-inner-declarations.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-inner-declarations'>; +} +declare module 'eslint/lib/rules/no-invalid-regexp.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-invalid-regexp'>; +} +declare module 'eslint/lib/rules/no-invalid-this.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-invalid-this'>; +} +declare module 'eslint/lib/rules/no-irregular-whitespace.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-irregular-whitespace'>; +} +declare module 'eslint/lib/rules/no-iterator.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-iterator'>; +} +declare module 'eslint/lib/rules/no-label-var.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-label-var'>; +} +declare module 'eslint/lib/rules/no-labels.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-labels'>; +} +declare module 'eslint/lib/rules/no-lone-blocks.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-lone-blocks'>; +} +declare module 'eslint/lib/rules/no-lonely-if.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-lonely-if'>; +} +declare module 'eslint/lib/rules/no-loop-func.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-loop-func'>; +} +declare module 'eslint/lib/rules/no-magic-numbers.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-magic-numbers'>; +} +declare module 'eslint/lib/rules/no-mixed-operators.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-mixed-operators'>; +} +declare module 'eslint/lib/rules/no-mixed-requires.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-mixed-requires'>; +} +declare module 'eslint/lib/rules/no-mixed-spaces-and-tabs.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-mixed-spaces-and-tabs'>; +} +declare module 'eslint/lib/rules/no-multi-spaces.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-multi-spaces'>; +} +declare module 'eslint/lib/rules/no-multi-str.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-multi-str'>; +} +declare module 'eslint/lib/rules/no-multiple-empty-lines.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-multiple-empty-lines'>; +} +declare module 'eslint/lib/rules/no-native-reassign.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-native-reassign'>; +} +declare module 'eslint/lib/rules/no-negated-condition.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-negated-condition'>; +} +declare module 'eslint/lib/rules/no-negated-in-lhs.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-negated-in-lhs'>; +} +declare module 'eslint/lib/rules/no-nested-ternary.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-nested-ternary'>; +} +declare module 'eslint/lib/rules/no-new-func.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-new-func'>; +} +declare module 'eslint/lib/rules/no-new-object.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-new-object'>; +} +declare module 'eslint/lib/rules/no-new-require.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-new-require'>; +} +declare module 'eslint/lib/rules/no-new-symbol.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-new-symbol'>; +} +declare module 'eslint/lib/rules/no-new-wrappers.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-new-wrappers'>; +} +declare module 'eslint/lib/rules/no-new.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-new'>; +} +declare module 'eslint/lib/rules/no-obj-calls.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-obj-calls'>; +} +declare module 'eslint/lib/rules/no-octal-escape.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-octal-escape'>; +} +declare module 'eslint/lib/rules/no-octal.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-octal'>; +} +declare module 'eslint/lib/rules/no-param-reassign.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-param-reassign'>; +} +declare module 'eslint/lib/rules/no-path-concat.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-path-concat'>; +} +declare module 'eslint/lib/rules/no-plusplus.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-plusplus'>; +} +declare module 'eslint/lib/rules/no-process-env.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-process-env'>; +} +declare module 'eslint/lib/rules/no-process-exit.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-process-exit'>; +} +declare module 'eslint/lib/rules/no-proto.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-proto'>; +} +declare module 'eslint/lib/rules/no-prototype-builtins.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-prototype-builtins'>; +} +declare module 'eslint/lib/rules/no-redeclare.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-redeclare'>; +} +declare module 'eslint/lib/rules/no-regex-spaces.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-regex-spaces'>; +} +declare module 'eslint/lib/rules/no-restricted-globals.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-restricted-globals'>; +} +declare module 'eslint/lib/rules/no-restricted-imports.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-restricted-imports'>; +} +declare module 'eslint/lib/rules/no-restricted-modules.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-restricted-modules'>; +} +declare module 'eslint/lib/rules/no-restricted-properties.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-restricted-properties'>; +} +declare module 'eslint/lib/rules/no-restricted-syntax.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-restricted-syntax'>; +} +declare module 'eslint/lib/rules/no-return-assign.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-return-assign'>; +} +declare module 'eslint/lib/rules/no-return-await.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-return-await'>; +} +declare module 'eslint/lib/rules/no-script-url.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-script-url'>; +} +declare module 'eslint/lib/rules/no-self-assign.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-self-assign'>; +} +declare module 'eslint/lib/rules/no-self-compare.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-self-compare'>; +} +declare module 'eslint/lib/rules/no-sequences.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-sequences'>; +} +declare module 'eslint/lib/rules/no-shadow-restricted-names.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-shadow-restricted-names'>; +} +declare module 'eslint/lib/rules/no-shadow.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-shadow'>; +} +declare module 'eslint/lib/rules/no-spaced-func.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-spaced-func'>; +} +declare module 'eslint/lib/rules/no-sparse-arrays.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-sparse-arrays'>; +} +declare module 'eslint/lib/rules/no-sync.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-sync'>; +} +declare module 'eslint/lib/rules/no-tabs.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-tabs'>; +} +declare module 'eslint/lib/rules/no-template-curly-in-string.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-template-curly-in-string'>; +} +declare module 'eslint/lib/rules/no-ternary.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-ternary'>; +} +declare module 'eslint/lib/rules/no-this-before-super.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-this-before-super'>; +} +declare module 'eslint/lib/rules/no-throw-literal.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-throw-literal'>; +} +declare module 'eslint/lib/rules/no-trailing-spaces.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-trailing-spaces'>; +} +declare module 'eslint/lib/rules/no-undef-init.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-undef-init'>; +} +declare module 'eslint/lib/rules/no-undef.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-undef'>; +} +declare module 'eslint/lib/rules/no-undefined.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-undefined'>; +} +declare module 'eslint/lib/rules/no-underscore-dangle.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-underscore-dangle'>; +} +declare module 'eslint/lib/rules/no-unexpected-multiline.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-unexpected-multiline'>; +} +declare module 'eslint/lib/rules/no-unmodified-loop-condition.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-unmodified-loop-condition'>; +} +declare module 'eslint/lib/rules/no-unneeded-ternary.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-unneeded-ternary'>; +} +declare module 'eslint/lib/rules/no-unreachable.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-unreachable'>; +} +declare module 'eslint/lib/rules/no-unsafe-finally.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-unsafe-finally'>; +} +declare module 'eslint/lib/rules/no-unsafe-negation.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-unsafe-negation'>; +} +declare module 'eslint/lib/rules/no-unused-expressions.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-unused-expressions'>; +} +declare module 'eslint/lib/rules/no-unused-labels.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-unused-labels'>; +} +declare module 'eslint/lib/rules/no-unused-vars.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-unused-vars'>; +} +declare module 'eslint/lib/rules/no-use-before-define.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-use-before-define'>; +} +declare module 'eslint/lib/rules/no-useless-call.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-useless-call'>; +} +declare module 'eslint/lib/rules/no-useless-computed-key.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-useless-computed-key'>; +} +declare module 'eslint/lib/rules/no-useless-concat.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-useless-concat'>; +} +declare module 'eslint/lib/rules/no-useless-constructor.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-useless-constructor'>; +} +declare module 'eslint/lib/rules/no-useless-escape.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-useless-escape'>; +} +declare module 'eslint/lib/rules/no-useless-rename.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-useless-rename'>; +} +declare module 'eslint/lib/rules/no-useless-return.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-useless-return'>; +} +declare module 'eslint/lib/rules/no-var.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-var'>; +} +declare module 'eslint/lib/rules/no-void.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-void'>; +} +declare module 'eslint/lib/rules/no-warning-comments.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-warning-comments'>; +} +declare module 'eslint/lib/rules/no-whitespace-before-property.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-whitespace-before-property'>; +} +declare module 'eslint/lib/rules/no-with.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-with'>; +} +declare module 'eslint/lib/rules/object-curly-newline.js' { + declare module.exports: $Exports<'eslint/lib/rules/object-curly-newline'>; +} +declare module 'eslint/lib/rules/object-curly-spacing.js' { + declare module.exports: $Exports<'eslint/lib/rules/object-curly-spacing'>; +} +declare module 'eslint/lib/rules/object-property-newline.js' { + declare module.exports: $Exports<'eslint/lib/rules/object-property-newline'>; +} +declare module 'eslint/lib/rules/object-shorthand.js' { + declare module.exports: $Exports<'eslint/lib/rules/object-shorthand'>; +} +declare module 'eslint/lib/rules/one-var-declaration-per-line.js' { + declare module.exports: $Exports<'eslint/lib/rules/one-var-declaration-per-line'>; +} +declare module 'eslint/lib/rules/one-var.js' { + declare module.exports: $Exports<'eslint/lib/rules/one-var'>; +} +declare module 'eslint/lib/rules/operator-assignment.js' { + declare module.exports: $Exports<'eslint/lib/rules/operator-assignment'>; +} +declare module 'eslint/lib/rules/operator-linebreak.js' { + declare module.exports: $Exports<'eslint/lib/rules/operator-linebreak'>; +} +declare module 'eslint/lib/rules/padded-blocks.js' { + declare module.exports: $Exports<'eslint/lib/rules/padded-blocks'>; +} +declare module 'eslint/lib/rules/prefer-arrow-callback.js' { + declare module.exports: $Exports<'eslint/lib/rules/prefer-arrow-callback'>; +} +declare module 'eslint/lib/rules/prefer-const.js' { + declare module.exports: $Exports<'eslint/lib/rules/prefer-const'>; +} +declare module 'eslint/lib/rules/prefer-numeric-literals.js' { + declare module.exports: $Exports<'eslint/lib/rules/prefer-numeric-literals'>; +} +declare module 'eslint/lib/rules/prefer-reflect.js' { + declare module.exports: $Exports<'eslint/lib/rules/prefer-reflect'>; +} +declare module 'eslint/lib/rules/prefer-rest-params.js' { + declare module.exports: $Exports<'eslint/lib/rules/prefer-rest-params'>; +} +declare module 'eslint/lib/rules/prefer-spread.js' { + declare module.exports: $Exports<'eslint/lib/rules/prefer-spread'>; +} +declare module 'eslint/lib/rules/prefer-template.js' { + declare module.exports: $Exports<'eslint/lib/rules/prefer-template'>; +} +declare module 'eslint/lib/rules/quote-props.js' { + declare module.exports: $Exports<'eslint/lib/rules/quote-props'>; +} +declare module 'eslint/lib/rules/quotes.js' { + declare module.exports: $Exports<'eslint/lib/rules/quotes'>; +} +declare module 'eslint/lib/rules/radix.js' { + declare module.exports: $Exports<'eslint/lib/rules/radix'>; +} +declare module 'eslint/lib/rules/require-await.js' { + declare module.exports: $Exports<'eslint/lib/rules/require-await'>; +} +declare module 'eslint/lib/rules/require-jsdoc.js' { + declare module.exports: $Exports<'eslint/lib/rules/require-jsdoc'>; +} +declare module 'eslint/lib/rules/require-yield.js' { + declare module.exports: $Exports<'eslint/lib/rules/require-yield'>; +} +declare module 'eslint/lib/rules/rest-spread-spacing.js' { + declare module.exports: $Exports<'eslint/lib/rules/rest-spread-spacing'>; +} +declare module 'eslint/lib/rules/semi-spacing.js' { + declare module.exports: $Exports<'eslint/lib/rules/semi-spacing'>; +} +declare module 'eslint/lib/rules/semi.js' { + declare module.exports: $Exports<'eslint/lib/rules/semi'>; +} +declare module 'eslint/lib/rules/sort-imports.js' { + declare module.exports: $Exports<'eslint/lib/rules/sort-imports'>; +} +declare module 'eslint/lib/rules/sort-keys.js' { + declare module.exports: $Exports<'eslint/lib/rules/sort-keys'>; +} +declare module 'eslint/lib/rules/sort-vars.js' { + declare module.exports: $Exports<'eslint/lib/rules/sort-vars'>; +} +declare module 'eslint/lib/rules/space-before-blocks.js' { + declare module.exports: $Exports<'eslint/lib/rules/space-before-blocks'>; +} +declare module 'eslint/lib/rules/space-before-function-paren.js' { + declare module.exports: $Exports<'eslint/lib/rules/space-before-function-paren'>; +} +declare module 'eslint/lib/rules/space-in-parens.js' { + declare module.exports: $Exports<'eslint/lib/rules/space-in-parens'>; +} +declare module 'eslint/lib/rules/space-infix-ops.js' { + declare module.exports: $Exports<'eslint/lib/rules/space-infix-ops'>; +} +declare module 'eslint/lib/rules/space-unary-ops.js' { + declare module.exports: $Exports<'eslint/lib/rules/space-unary-ops'>; +} +declare module 'eslint/lib/rules/spaced-comment.js' { + declare module.exports: $Exports<'eslint/lib/rules/spaced-comment'>; +} +declare module 'eslint/lib/rules/strict.js' { + declare module.exports: $Exports<'eslint/lib/rules/strict'>; +} +declare module 'eslint/lib/rules/symbol-description.js' { + declare module.exports: $Exports<'eslint/lib/rules/symbol-description'>; +} +declare module 'eslint/lib/rules/template-curly-spacing.js' { + declare module.exports: $Exports<'eslint/lib/rules/template-curly-spacing'>; +} +declare module 'eslint/lib/rules/unicode-bom.js' { + declare module.exports: $Exports<'eslint/lib/rules/unicode-bom'>; +} +declare module 'eslint/lib/rules/use-isnan.js' { + declare module.exports: $Exports<'eslint/lib/rules/use-isnan'>; +} +declare module 'eslint/lib/rules/valid-jsdoc.js' { + declare module.exports: $Exports<'eslint/lib/rules/valid-jsdoc'>; +} +declare module 'eslint/lib/rules/valid-typeof.js' { + declare module.exports: $Exports<'eslint/lib/rules/valid-typeof'>; +} +declare module 'eslint/lib/rules/vars-on-top.js' { + declare module.exports: $Exports<'eslint/lib/rules/vars-on-top'>; +} +declare module 'eslint/lib/rules/wrap-iife.js' { + declare module.exports: $Exports<'eslint/lib/rules/wrap-iife'>; +} +declare module 'eslint/lib/rules/wrap-regex.js' { + declare module.exports: $Exports<'eslint/lib/rules/wrap-regex'>; +} +declare module 'eslint/lib/rules/yield-star-spacing.js' { + declare module.exports: $Exports<'eslint/lib/rules/yield-star-spacing'>; +} +declare module 'eslint/lib/rules/yoda.js' { + declare module.exports: $Exports<'eslint/lib/rules/yoda'>; +} +declare module 'eslint/lib/testers/event-generator-tester.js' { + declare module.exports: $Exports<'eslint/lib/testers/event-generator-tester'>; +} +declare module 'eslint/lib/testers/rule-tester.js' { + declare module.exports: $Exports<'eslint/lib/testers/rule-tester'>; +} +declare module 'eslint/lib/timing.js' { + declare module.exports: $Exports<'eslint/lib/timing'>; +} +declare module 'eslint/lib/token-store.js' { + declare module.exports: $Exports<'eslint/lib/token-store'>; +} +declare module 'eslint/lib/util/comment-event-generator.js' { + declare module.exports: $Exports<'eslint/lib/util/comment-event-generator'>; +} +declare module 'eslint/lib/util/glob-util.js' { + declare module.exports: $Exports<'eslint/lib/util/glob-util'>; +} +declare module 'eslint/lib/util/glob.js' { + declare module.exports: $Exports<'eslint/lib/util/glob'>; +} +declare module 'eslint/lib/util/hash.js' { + declare module.exports: $Exports<'eslint/lib/util/hash'>; +} +declare module 'eslint/lib/util/keywords.js' { + declare module.exports: $Exports<'eslint/lib/util/keywords'>; +} +declare module 'eslint/lib/util/module-resolver.js' { + declare module.exports: $Exports<'eslint/lib/util/module-resolver'>; +} +declare module 'eslint/lib/util/node-event-generator.js' { + declare module.exports: $Exports<'eslint/lib/util/node-event-generator'>; +} +declare module 'eslint/lib/util/npm-util.js' { + declare module.exports: $Exports<'eslint/lib/util/npm-util'>; +} +declare module 'eslint/lib/util/path-util.js' { + declare module.exports: $Exports<'eslint/lib/util/path-util'>; +} +declare module 'eslint/lib/util/patterns/letters.js' { + declare module.exports: $Exports<'eslint/lib/util/patterns/letters'>; +} +declare module 'eslint/lib/util/rule-fixer.js' { + declare module.exports: $Exports<'eslint/lib/util/rule-fixer'>; +} +declare module 'eslint/lib/util/source-code-fixer.js' { + declare module.exports: $Exports<'eslint/lib/util/source-code-fixer'>; +} +declare module 'eslint/lib/util/source-code-util.js' { + declare module.exports: $Exports<'eslint/lib/util/source-code-util'>; +} +declare module 'eslint/lib/util/source-code.js' { + declare module.exports: $Exports<'eslint/lib/util/source-code'>; +} +declare module 'eslint/lib/util/traverser.js' { + declare module.exports: $Exports<'eslint/lib/util/traverser'>; +} +declare module 'eslint/lib/util/xml-escape.js' { + declare module.exports: $Exports<'eslint/lib/util/xml-escape'>; +} diff --git a/flow-typed/npm/flow-bin_v0.x.x.js b/flow-typed/npm/flow-bin_v0.x.x.js new file mode 100644 index 0000000..c538e20 --- /dev/null +++ b/flow-typed/npm/flow-bin_v0.x.x.js @@ -0,0 +1,6 @@ +// flow-typed signature: 6a5610678d4b01e13bbfbbc62bdaf583 +// flow-typed version: 3817bc6980/flow-bin_v0.x.x/flow_>=v0.25.x + +declare module "flow-bin" { + declare module.exports: string; +} diff --git a/flow-typed/npm/jest-cli_vx.x.x.js b/flow-typed/npm/jest-cli_vx.x.x.js new file mode 100644 index 0000000..0140bf1 --- /dev/null +++ b/flow-typed/npm/jest-cli_vx.x.x.js @@ -0,0 +1,200 @@ +// flow-typed signature: 85c401a4fc380b7b74825c0b4f5ab003 +// flow-typed version: <>/jest-cli_v^17.0.0/flow_v0.36.0 + +/** + * This is an autogenerated libdef stub for: + * + * 'jest-cli' + * + * 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-cli' { + 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-cli/bin/jest' { + declare module.exports: any; +} + +declare module 'jest-cli/build/cli/args' { + declare module.exports: any; +} + +declare module 'jest-cli/build/cli/getJest' { + declare module.exports: any; +} + +declare module 'jest-cli/build/cli/index' { + declare module.exports: any; +} + +declare module 'jest-cli/build/generateEmptyCoverage' { + declare module.exports: any; +} + +declare module 'jest-cli/build/jest' { + declare module.exports: any; +} + +declare module 'jest-cli/build/lib/BufferedConsole' { + declare module.exports: any; +} + +declare module 'jest-cli/build/lib/formatTestResults' { + declare module.exports: any; +} + +declare module 'jest-cli/build/lib/promisify' { + declare module.exports: any; +} + +declare module 'jest-cli/build/preRunMessage' { + declare module.exports: any; +} + +declare module 'jest-cli/build/reporters/BaseReporter' { + declare module.exports: any; +} + +declare module 'jest-cli/build/reporters/CoverageReporter' { + declare module.exports: any; +} + +declare module 'jest-cli/build/reporters/DefaultReporter' { + declare module.exports: any; +} + +declare module 'jest-cli/build/reporters/getConsoleOutput' { + declare module.exports: any; +} + +declare module 'jest-cli/build/reporters/getResultHeader' { + declare module.exports: any; +} + +declare module 'jest-cli/build/reporters/NotifyReporter' { + declare module.exports: any; +} + +declare module 'jest-cli/build/reporters/Status' { + declare module.exports: any; +} + +declare module 'jest-cli/build/reporters/SummaryReporter' { + declare module.exports: any; +} + +declare module 'jest-cli/build/reporters/utils' { + declare module.exports: any; +} + +declare module 'jest-cli/build/reporters/VerboseReporter' { + declare module.exports: any; +} + +declare module 'jest-cli/build/runTest' { + declare module.exports: any; +} + +declare module 'jest-cli/build/SearchSource' { + declare module.exports: any; +} + +declare module 'jest-cli/build/TestRunner' { + declare module.exports: any; +} + +declare module 'jest-cli/build/TestWatcher' { + declare module.exports: any; +} + +declare module 'jest-cli/build/TestWorker' { + declare module.exports: any; +} + +// Filename aliases +declare module 'jest-cli/bin/jest.js' { + declare module.exports: $Exports<'jest-cli/bin/jest'>; +} +declare module 'jest-cli/build/cli/args.js' { + declare module.exports: $Exports<'jest-cli/build/cli/args'>; +} +declare module 'jest-cli/build/cli/getJest.js' { + declare module.exports: $Exports<'jest-cli/build/cli/getJest'>; +} +declare module 'jest-cli/build/cli/index.js' { + declare module.exports: $Exports<'jest-cli/build/cli/index'>; +} +declare module 'jest-cli/build/generateEmptyCoverage.js' { + declare module.exports: $Exports<'jest-cli/build/generateEmptyCoverage'>; +} +declare module 'jest-cli/build/jest.js' { + declare module.exports: $Exports<'jest-cli/build/jest'>; +} +declare module 'jest-cli/build/lib/BufferedConsole.js' { + declare module.exports: $Exports<'jest-cli/build/lib/BufferedConsole'>; +} +declare module 'jest-cli/build/lib/formatTestResults.js' { + declare module.exports: $Exports<'jest-cli/build/lib/formatTestResults'>; +} +declare module 'jest-cli/build/lib/promisify.js' { + declare module.exports: $Exports<'jest-cli/build/lib/promisify'>; +} +declare module 'jest-cli/build/preRunMessage.js' { + declare module.exports: $Exports<'jest-cli/build/preRunMessage'>; +} +declare module 'jest-cli/build/reporters/BaseReporter.js' { + declare module.exports: $Exports<'jest-cli/build/reporters/BaseReporter'>; +} +declare module 'jest-cli/build/reporters/CoverageReporter.js' { + declare module.exports: $Exports<'jest-cli/build/reporters/CoverageReporter'>; +} +declare module 'jest-cli/build/reporters/DefaultReporter.js' { + declare module.exports: $Exports<'jest-cli/build/reporters/DefaultReporter'>; +} +declare module 'jest-cli/build/reporters/getConsoleOutput.js' { + declare module.exports: $Exports<'jest-cli/build/reporters/getConsoleOutput'>; +} +declare module 'jest-cli/build/reporters/getResultHeader.js' { + declare module.exports: $Exports<'jest-cli/build/reporters/getResultHeader'>; +} +declare module 'jest-cli/build/reporters/NotifyReporter.js' { + declare module.exports: $Exports<'jest-cli/build/reporters/NotifyReporter'>; +} +declare module 'jest-cli/build/reporters/Status.js' { + declare module.exports: $Exports<'jest-cli/build/reporters/Status'>; +} +declare module 'jest-cli/build/reporters/SummaryReporter.js' { + declare module.exports: $Exports<'jest-cli/build/reporters/SummaryReporter'>; +} +declare module 'jest-cli/build/reporters/utils.js' { + declare module.exports: $Exports<'jest-cli/build/reporters/utils'>; +} +declare module 'jest-cli/build/reporters/VerboseReporter.js' { + declare module.exports: $Exports<'jest-cli/build/reporters/VerboseReporter'>; +} +declare module 'jest-cli/build/runTest.js' { + declare module.exports: $Exports<'jest-cli/build/runTest'>; +} +declare module 'jest-cli/build/SearchSource.js' { + declare module.exports: $Exports<'jest-cli/build/SearchSource'>; +} +declare module 'jest-cli/build/TestRunner.js' { + declare module.exports: $Exports<'jest-cli/build/TestRunner'>; +} +declare module 'jest-cli/build/TestWatcher.js' { + declare module.exports: $Exports<'jest-cli/build/TestWatcher'>; +} +declare module 'jest-cli/build/TestWorker.js' { + declare module.exports: $Exports<'jest-cli/build/TestWorker'>; +} diff --git a/flow-typed/npm/lodash_v4.x.x.js b/flow-typed/npm/lodash_v4.x.x.js new file mode 100644 index 0000000..7b32ff0 --- /dev/null +++ b/flow-typed/npm/lodash_v4.x.x.js @@ -0,0 +1,496 @@ +// flow-typed signature: 30b961321e07b9c4220a08ccb1df90a6 +// flow-typed version: b8b7c5fef5/lodash_v4.x.x/flow_>=v0.28.x + +declare module 'lodash' { + declare type TemplateSettings = { + escape?: RegExp, + evaluate?: RegExp, + imports?: Object, + interpolate?: RegExp, + variable?: string, + }; + + declare type TruncateOptions = { + length?: number, + omission?: string, + separator?: RegExp|string, + }; + + declare type DebounceOptions = { + leading?: bool, + maxWait?: number, + trailing?: bool, + }; + + declare type ThrottleOptions = { + leading?: bool, + trailing?: bool, + }; + + declare type NestedArray = Array>; + + declare type OPredicate = + | ((value: A, key: string, object: O) => any) + | Object + | string; + declare type OIterateeWithResult = Object|string|((value: V, key: string, object: O) => R); + declare type OIteratee = OIterateeWithResult; + + declare type Predicate = + | ((value: T, index: number, array: Array) => any) + | Object + | string; + declare type _Iteratee = (item: T, index: number, array: ?Array) => mixed; + declare type Iteratee = _Iteratee|Object|string; + declare type Iteratee2 = ((item: T, index: number, array: ?Array) => U)|Object|string; + declare type FlatMapIteratee = ((item: T, index: number, array: ?Array) => Array)|Object|string; + declare type Comparator = (item: T, item2: T) => bool; + + declare type MapIterator1 = (item: T) => U; + declare type MapIterator2 = (item: T, index: number) => U; + declare type MapIterator3 = (item: T, index: number, array: Array) => U; + declare type MapIterator = MapIterator1|MapIterator2|MapIterator3; + + declare class Lodash { + // Array + chunk(array: ?Array, size?: number): Array>; + compact(array: Array): Array; + concat(base: Array, ...elements: Array): Array; + difference(array: ?Array, values?: Array): Array; + differenceBy(array: ?Array, values: Array, iteratee: Iteratee): T[]; + differenceWith(array: T[], values: T[], comparator?: Comparator): T[]; + drop(array: ?Array, n?: number): Array; + dropRight(array: ?Array, n?: number): Array; + dropRightWhile(array: ?Array, predicate?: Predicate): Array; + dropWhile(array: ?Array, predicate?: Predicate): Array; + fill(array: ?Array, value: U, start?: number, end?: number): Array; + findIndex(array: ?Array, predicate?: Predicate): number; + findLastIndex(array: ?Array, predicate?: Predicate): number; + // alias of _.head + first(array: ?Array): T; + flatten(array: Array|X>): Array; + flattenDeep(array: any[]): Array; + flattenDepth(array: any[], depth?: number): any[]; + fromPairs(pairs: Array): Object; + head(array: ?Array): T; + indexOf(array: ?Array, value: T, fromIndex?: number): number; + initial(array: ?Array): Array; + intersection(...arrays: Array>): Array; + //Workaround until (...parameter: T, parameter2: U) works + intersectionBy(a1: Array, iteratee?: Iteratee): Array; + intersectionBy(a1: Array, a2: Array, iteratee?: Iteratee): Array; + intersectionBy(a1: Array, a2: Array, a3: Array, iteratee?: Iteratee): Array; + intersectionBy(a1: Array, a2: Array, a3: Array, a4: Array, iteratee?: Iteratee): Array; + //Workaround until (...parameter: T, parameter2: U) works + intersectionWith(a1: Array, comparator: Comparator): Array; + intersectionWith(a1: Array, a2: Array, comparator: Comparator): Array; + intersectionWith(a1: Array, a2: Array, a3: Array, comparator: Comparator): Array; + intersectionWith(a1: Array, a2: Array, a3: Array, a4: Array, comparator: Comparator): Array; + join(array: ?Array, separator?: string): string; + last(array: ?Array): T; + lastIndexOf(array: ?Array, value: T, fromIndex?: number): number; + nth(array: T[], n?: number): T; + pull(array: ?Array, ...values?: Array): Array; + pullAll(array: ?Array, values: Array): Array; + pullAllBy(array: ?Array, values: Array, iteratee?: Iteratee): Array; + pullAllWith(array?: T[], values: T[], comparator?: Function): T[]; + pullAt(array: ?Array, ...indexed?: Array): Array; + pullAt(array: ?Array, indexed?: Array): Array; + remove(array: ?Array, predicate?: Predicate): Array; + reverse(array: ?Array): Array; + slice(array: ?Array, start?: number, end?: number): Array; + sortedIndex(array: ?Array, value: T): number; + sortedIndexBy(array: ?Array, value: T, iteratee?: Iteratee): number; + sortedIndexOf(array: ?Array, value: T): number; + sortedLastIndex(array: ?Array, value: T): number; + sortedLastIndexBy(array: ?Array, value: T, iteratee?: Iteratee): number; + sortedLastIndexOf(array: ?Array, value: T): number; + sortedUniq(array: ?Array): Array; + sortedUniqBy(array: ?Array, iteratee?: (value: T) => mixed): Array; + tail(array: ?Array): Array; + take(array: ?Array, n?: number): Array; + takeRight(array: ?Array, n?: number): Array; + takeRightWhile(array: ?Array, predicate?: Predicate): Array; + takeWhile(array: ?Array, predicate?: Predicate): Array; + union(...arrays?: Array>): Array; + //Workaround until (...parameter: T, parameter2: U) works + unionBy(a1: Array, iteratee?: Iteratee): Array; + unionBy(a1: Array, a2: Array, iteratee?: Iteratee): Array; + unionBy(a1: Array, a2: Array, a3: Array, iteratee?: Iteratee): Array; + unionBy(a1: Array, a2: Array, a3: Array, a4: Array, iteratee?: Iteratee): Array; + //Workaround until (...parameter: T, parameter2: U) works + unionWith(a1: Array, comparator?: Comparator): Array; + unionWith(a1: Array, a2: Array, comparator?: Comparator): Array; + unionWith(a1: Array, a2: Array, a3: Array, comparator?: Comparator): Array; + unionWith(a1: Array, a2: Array, a3: Array, a4: Array, comparator?: Comparator): Array; + uniq(array: ?Array): Array; + uniqBy(array: ?Array, iteratee?: Iteratee): Array; + uniqWith(array: ?Array, comparator?: Comparator): Array; + unzip(array: ?Array): Array; + unzipWith(array: ?Array, iteratee?: Iteratee): Array; + without(array: ?Array, ...values?: Array): Array; + xor(...array: Array>): Array; + //Workaround until (...parameter: T, parameter2: U) works + xorBy(a1: Array, iteratee?: Iteratee): Array; + xorBy(a1: Array, a2: Array, iteratee?: Iteratee): Array; + xorBy(a1: Array, a2: Array, a3: Array, iteratee?: Iteratee): Array; + xorBy(a1: Array, a2: Array, a3: Array, a4: Array, iteratee?: Iteratee): Array; + //Workaround until (...parameter: T, parameter2: U) works + xorWith(a1: Array, comparator?: Comparator): Array; + xorWith(a1: Array, a2: Array, comparator?: Comparator): Array; + xorWith(a1: Array, a2: Array, a3: Array, comparator?: Comparator): Array; + xorWith(a1: Array, a2: Array, a3: Array, a4: Array, comparator?: Comparator): Array; + zip(a1: A[], a2: B[]): Array<[A, B]>; + zip(a1: A[], a2: B[], a3: C[]): Array<[A, B, C]>; + zip(a1: A[], a2: B[], a3: C[], a4: D[]): Array<[A, B, C, D]>; + zip(a1: A[], a2: B[], a3: C[], a4: D[], a5: E[]): Array<[A, B, C, D, E]>; + + zipObject(props?: Array, values?: Array): Object; + zipObjectDeep(props?: any[], values?: any): Object; + //Workaround until (...parameter: T, parameter2: U) works + zipWith(a1: NestedArray, iteratee?: Iteratee): Array; + zipWith(a1: NestedArray, a2: NestedArray, iteratee?: Iteratee): Array; + zipWith(a1: NestedArray, a2: NestedArray, a3: NestedArray, iteratee?: Iteratee): Array; + zipWith(a1: NestedArray, a2: NestedArray, a3: NestedArray, a4: NestedArray, iteratee?: Iteratee): Array; + + // Collection + countBy(array: ?Array, iteratee?: Iteratee): Object; + countBy(object: T, iteratee?: OIteratee): Object; + // alias of _.forEach + each(array: ?Array, iteratee?: Iteratee): Array; + each(object: T, iteratee?: OIteratee): T; + // alias of _.forEachRight + eachRight(array: ?Array, iteratee?: Iteratee): Array; + eachRight(object: T, iteratee?: OIteratee): T; + every(array: ?Array, iteratee?: Iteratee): bool; + every(object: T, iteratee?: OIteratee): bool; + filter(array: ?Array, predicate?: Predicate): Array; + filter(object: T, predicate?: OPredicate): Array; + find(array: ?Array, predicate?: Predicate): T; + find(object: T, predicate?: OPredicate): V; + findLast(array: ?Array, predicate?: Predicate): T; + findLast(object: T, predicate?: OPredicate): V; + flatMap(array: ?Array, iteratee?: FlatMapIteratee): Array; + flatMapDeep(array: ?Array, iteratee?: FlatMapIteratee): Array; + flatMapDepth(array: ?Array, iteratee?: FlatMapIteratee, depth?: number): Array; + forEach(array: ?Array, iteratee?: Iteratee): Array; + forEach(object: T, iteratee?: OIteratee): T; + forEachRight(array: ?Array, iteratee?: Iteratee): Array; + forEachRight(object: T, iteratee?: OIteratee): T; + groupBy(array: ?Array, iteratee?: Iteratee): Object; + groupBy(object: T, iteratee?: OIteratee): Object; + includes(array: ?Array, value: T, fromIndex?: number): bool; + includes(object: T, value: any, fromIndex?: number): bool; + includes(str: string, value: string, fromIndex?: number): bool; + invokeMap(array: ?Array, path: ((value: T) => Array|string)|Array|string, ...args?: Array): Array; + invokeMap(object: T, path: ((value: any) => Array|string)|Array|string, ...args?: Array): Array; + keyBy(array: ?Array, iteratee?: Iteratee2): {[key: V]: T}; + keyBy(object: T, iteratee?: OIteratee): Object; + map(array: ?Array, iteratee?: MapIterator): Array; + map(object: ?T, iteratee?: OIterateeWithResult): Array; + map(str: ?string, iteratee?: (char: string, index: number, str: string) => any): string; + orderBy(array: ?Array, iteratees?: Array>|string, orders?: Array<'asc'|'desc'>|string): Array; + orderBy(object: T, iteratees?: Array>|string, orders?: Array<'asc'|'desc'>|string): Array; + partition(array: ?Array, predicate?: Predicate): NestedArray; + partition(object: T, predicate?: OPredicate): NestedArray; + reduce(array: ?Array, iteratee?: (accumulator: U, value: T, index: number, array: ?Array) => U, accumulator?: U): U; + reduce(object: T, iteratee?: (accumulator: U, value: any, key: string, object: T) => U, accumulator?: U): U; + reduceRight(array: ?Array, iteratee?: (accumulator: U, value: T, index: number, array: ?Array) => U, accumulator?: U): U; + reduceRight(object: T, iteratee?: (accumulator: U, value: any, key: string, object: T) => U, accumulator?: U): U; + reject(array: ?Array, predicate?: Predicate): Array; + reject(object: T, predicate?: OPredicate): Array; + sample(array: ?Array): T; + sample(object: T): V; + sampleSize(array: ?Array, n?: number): Array; + sampleSize(object: T, n?: number): Array; + shuffle(array: ?Array): Array; + shuffle(object: T): Array; + size(collection: Array|Object): number; + some(array: ?Array, predicate?: Predicate): bool; + some(object?: ?T, predicate?: OPredicate): bool; + sortBy(array: ?Array, ...iteratees?: Array>): Array; + sortBy(array: ?Array, iteratees?: Array>): Array; + sortBy(object: T, ...iteratees?: Array>): Array; + sortBy(object: T, iteratees?: Array>): Array; + + // Date + now(): number; + + // Function + after(n: number, fn: Function): Function; + ary(func: Function, n?: number): Function; + before(n: number, fn: Function): Function; + bind(func: Function, thisArg: any, ...partials: Array): Function; + bindKey(obj: Object, key: string, ...partials: Array): Function; + curry(func: Function, arity?: number): Function; + curryRight(func: Function, arity?: number): Function; + debounce(func: Function, wait?: number, options?: DebounceOptions): Function; + defer(func: Function, ...args?: Array): number; + delay(func: Function, wait: number, ...args?: Array): number; + flip(func: Function): Function; + memoize(func: Function, resolver?: Function): Function; + negate(predicate: Function): Function; + once(func: Function): Function; + overArgs(func: Function, ...transforms: Array): Function; + overArgs(func: Function, transforms: Array): Function; + partial(func: Function, ...partials: any[]): Function; + partialRight(func: Function, ...partials: Array): Function; + partialRight(func: Function, partials: Array): Function; + rearg(func: Function, ...indexes: Array): Function; + rearg(func: Function, indexes: Array): Function; + rest(func: Function, start?: number): Function; + spread(func: Function): Function; + throttle(func: Function, wait?: number, options?: ThrottleOptions): Function; + unary(func: Function): Function; + wrap(value: any, wrapper: Function): Function; + + // Lang + castArray(value: *): any[]; + clone(value: T): T; + cloneDeep(value: T): T; + cloneDeepWith(value: T, customizer?: ?(value: T, key: number|string, object: T, stack: any) => U): U; + cloneWith(value: T, customizer?: ?(value: T, key: number|string, object: T, stack: any) => U): U; + conformsTo(source: T, predicates: T&{[key:string]:(x:any)=>boolean}): boolean; + eq(value: any, other: any): bool; + gt(value: any, other: any): bool; + gte(value: any, other: any): bool; + isArguments(value: any): bool; + isArray(value: any): bool; + isArrayBuffer(value: any): bool; + isArrayLike(value: any): bool; + isArrayLikeObject(value: any): bool; + isBoolean(value: any): bool; + isBuffer(value: any): bool; + isDate(value: any): bool; + isElement(value: any): bool; + isEmpty(value: any): bool; + isEqual(value: any, other: any): bool; + isEqualWith(value: T, other: U, customizer?: (objValue: any, otherValue: any, key: number|string, object: T, other: U, stack: any) => bool|void): bool; + isError(value: any): bool; + isFinite(value: any): bool; + isFunction(value: Function): true; + isFunction(value: number|string|void|null|Object): false; + isInteger(value: any): bool; + isLength(value: any): bool; + isMap(value: any): bool; + isMatch(object?: ?Object, source: Object): bool; + isMatchWith(object: T, source: U, customizer?: (objValue: any, srcValue: any, key: number|string, object: T, source: U) => bool|void): bool; + isNaN(value: any): bool; + isNative(value: any): bool; + isNil(value: any): bool; + isNull(value: any): bool; + isNumber(value: any): bool; + isObject(value: any): bool; + isObjectLike(value: any): bool; + isPlainObject(value: any): bool; + isRegExp(value: any): bool; + isSafeInteger(value: any): bool; + isSet(value: any): bool; + isString(value: any): bool; + isSymbol(value: any): bool; + isTypedArray(value: any): bool; + isUndefined(value: any): bool; + isWeakMap(value: any): bool; + isWeakSet(value: any): bool; + lt(value: any, other: any): bool; + lte(value: any, other: any): bool; + toArray(value: any): Array; + toFinite(value: any): number; + toInteger(value: any): number; + toLength(value: any): number; + toNumber(value: any): number; + toPlainObject(value: any): Object; + toSafeInteger(value: any): number; + toString(value: any): string; + + // Math + add(augend: number, addend: number): number; + ceil(number: number, precision?: number): number; + divide(dividend: number, divisor: number): number; + floor(number: number, precision?: number): number; + max(array: ?Array): T; + maxBy(array: ?Array, iteratee?: Iteratee): T; + mean(array: Array<*>): number; + meanBy(array: Array, iteratee?: Iteratee): number; + min(array: ?Array): T; + minBy(array: ?Array, iteratee?: Iteratee): T; + multiply(multiplier: number, multiplicand: number): number; + round(number: number, precision?: number): number; + subtract(minuend: number, subtrahend: number): number; + sum(array: Array<*>): number; + sumBy(array: Array, iteratee?: Iteratee): number; + + // number + clamp(number: number, lower?: number, upper: number): number; + inRange(number: number, start?: number, end: number): bool; + random(lower?: number, upper?: number, floating?: bool): number; + + // Object + assign(object?: ?Object, ...sources?: Array): Object; + assignIn(a: A, b: B): A & B; + assignIn(a: A, b: B, c: C): A & B & C; + assignIn(a: A, b: B, c: C, d: D): A & B & C & D; + assignIn(a: A, b: B, c: C, d: D, e: E): A & B & C & D & E; + assignInWith(object: T, s1: A, customizer?: (objValue: any, srcValue: any, key: string, object: T, source: A) => any|void): Object; + assignInWith(object: T, s1: A, s2: B, customizer?: (objValue: any, srcValue: any, key: string, object: T, source: A|B) => any|void): Object; + assignInWith(object: T, s1: A, s2: B, s3: C, customizer?: (objValue: any, srcValue: any, key: string, object: T, source: A|B|C) => any|void): Object; + assignInWith(object: T, s1: A, s2: B, s3: C, s4: D, customizer?: (objValue: any, srcValue: any, key: string, object: T, source: A|B|C|D) => any|void): Object; + assignWith(object: T, s1: A, customizer?: (objValue: any, srcValue: any, key: string, object: T, source: A) => any|void): Object; + assignWith(object: T, s1: A, s2: B, customizer?: (objValue: any, srcValue: any, key: string, object: T, source: A|B) => any|void): Object; + assignWith(object: T, s1: A, s2: B, s3: C, customizer?: (objValue: any, srcValue: any, key: string, object: T, source: A|B|C) => any|void): Object; + assignWith(object: T, s1: A, s2: B, s3: C, s4: D, customizer?: (objValue: any, srcValue: any, key: string, object: T, source: A|B|C|D) => any|void): Object; + at(object?: ?Object, ...paths: Array): Array; + at(object?: ?Object, paths: Array): Array; + create(prototype: T, properties?: Object): $Supertype; + defaults(object?: ?Object, ...sources?: Array): Object; + defaultsDeep(object?: ?Object, ...sources?: Array): Object; + // alias for _.toPairs + entries(object?: ?Object): NestedArray; + // alias for _.toPairsIn + entriesIn(object?: ?Object): NestedArray; + // alias for _.assignIn + extend(a: A, b: B): A & B; + extend(a: A, b: B, c: C): A & B & C; + extend(a: A, b: B, c: C, d: D): A & B & C & D; + extend(a: A, b: B, c: C, d: D, e: E): A & B & C & D & E; + // alias for _.assignInWith + extendWith(object: T, s1: A, customizer?: (objValue: any, srcValue: any, key: string, object: T, source: A) => any|void): Object; + extendWith(object: T, s1: A, s2: B, customizer?: (objValue: any, srcValue: any, key: string, object: T, source: A|B) => any|void): Object; + extendWith(object: T, s1: A, s2: B, s3: C, customizer?: (objValue: any, srcValue: any, key: string, object: T, source: A|B|C) => any|void): Object; + extendWith(object: T, s1: A, s2: B, s3: C, s4: D, customizer?: (objValue: any, srcValue: any, key: string, object: T, source: A|B|C|D) => any|void): Object; + findKey(object?: ?T, predicate?: OPredicate): string|void; + findLastKey(object?: ?T, predicate?: OPredicate): string|void; + forIn(object?: ?Object, iteratee?: OIteratee<*>): Object; + forInRight(object?: ?Object, iteratee?: OIteratee<*>): Object; + forOwn(object?: ?Object, iteratee?: OIteratee<*>): Object; + forOwnRight(object?: ?Object, iteratee?: OIteratee<*>): Object; + functions(object?: ?Object): Array; + functionsIn(object?: ?Object): Array; + get(object?: ?Object, path?: ?Array|string, defaultValue?: any): any; + has(object?: ?Object, path?: ?Array|string): bool; + hasIn(object?: ?Object, path?: ?Array|string): bool; + invert(object?: ?Object, multiVal?: bool): Object; + invertBy(object: ?Object, iteratee?: Function): Object; + invoke(object?: ?Object, path?: ?Array|string, ...args?: Array): any; + keys(object?: ?Object): Array; + keysIn(object?: ?Object): Array; + mapKeys(object?: ?Object, iteratee?: OIteratee<*>): Object; + mapValues(object?: ?Object, iteratee?: OIteratee<*>): Object; + merge(object?: ?Object, ...sources?: Array): Object; + mergeWith(object: T, customizer?: (objValue: any, srcValue: any, key: string, object: T, source: A) => any|void): Object; + mergeWith(object: T, s1: A, s2: B, customizer?: (objValue: any, srcValue: any, key: string, object: T, source: A|B) => any|void): Object; + mergeWith(object: T, s1: A, s2: B, s3: C, customizer?: (objValue: any, srcValue: any, key: string, object: T, source: A|B|C) => any|void): Object; + mergeWith(object: T, s1: A, s2: B, s3: C, s4: D, customizer?: (objValue: any, srcValue: any, key: string, object: T, source: A|B|C|D) => any|void): Object; + omit(object?: ?Object, ...props: Array): Object; + omit(object?: ?Object, props: Array): Object; + omitBy(object?: ?T, predicate?: OPredicate): Object; + pick(object?: ?Object, ...props: Array): Object; + pick(object?: ?Object, props: Array): Object; + pickBy(object?: ?T, predicate?: OPredicate): Object; + result(object?: ?Object, path?: ?Array|string, defaultValue?: any): any; + set(object?: ?Object, path?: ?Array|string, value: any): Object; + setWith(object: T, path?: ?Array|string, value: any, customizer?: (nsValue: any, key: string, nsObject: T) => any): Object; + toPairs(object?: ?Object|Array<*>): NestedArray; + toPairsIn(object?: ?Object): NestedArray; + transform(collection: Object|Array, iteratee?: OIteratee<*>, accumulator?: any): any; + unset(object?: ?Object, path?: ?Array|string): bool; + update(object: Object, path: string[]|string, updater: Function): Object; + updateWith(object: Object, path: string[]|string, updater: Function, customizer?: Function): Object; + values(object?: ?Object): Array; + valuesIn(object?: ?Object): Array; + + // Seq + // harder to read, but this is _() + (value: any): any; + chain(value: T): any; + tap(value: T, interceptor: (value:T)=>any): T; + thru(value: T1, interceptor: (value:T1)=>T2): T2; + // TODO: _.prototype.* + + // String + camelCase(string?: ?string): string; + capitalize(string?: string): string; + deburr(string?: string): string; + endsWith(string?: string, target?: string, position?: number): bool; + escape(string?: string): string; + escapeRegExp(string?: string): string; + kebabCase(string?: string): string; + lowerCase(string?: string): string; + lowerFirst(string?: string): string; + pad(string?: string, length?: number, chars?: string): string; + padEnd(string?: string, length?: number, chars?: string): string; + padStart(string?: string, length?: number, chars?: string): string; + parseInt(string: string, radix?: number): number; + repeat(string?: string, n?: number): string; + replace(string?: string, pattern: RegExp|string, replacement: ((string: string) => string)|string): string; + snakeCase(string?: string): string; + split(string?: string, separator: RegExp|string, limit?: number): Array; + startCase(string?: string): string; + startsWith(string?: string, target?: string, position?: number): bool; + template(string?: string, options?: TemplateSettings): Function; + toLower(string?: string): string; + toUpper(string?: string): string; + trim(string?: string, chars?: string): string; + trimEnd(string?: string, chars?: string): string; + trimStart(string?: string, chars?: string): string; + truncate(string?: string, options?: TruncateOptions): string; + unescape(string?: string): string; + upperCase(string?: string): string; + upperFirst(string?: string): string; + words(string?: string, pattern?: RegExp|string): Array; + + // Util + attempt(func: Function): any; + bindAll(object?: ?Object, methodNames: Array): Object; + bindAll(object?: ?Object, ...methodNames: Array): Object; + cond(pairs: NestedArray): Function; + conforms(source: Object): Function; + constant(value: T): () => T; + defaultTo(value: T1, default: T2): T1; + // NaN is a number instead of its own type, otherwise it would behave like null/void + defaultTo(value: T1, default: T2): T1|T2; + defaultTo(value: T1, default: T2): T2; + flow(...funcs?: Array): Function; + flow(funcs?: Array): Function; + flowRight(...funcs?: Array): Function; + flowRight(funcs?: Array): Function; + identity(value: T): T; + iteratee(func?: any): Function; + matches(source: Object): Function; + matchesProperty(path?: ?Array|string, srcValue: any): Function; + method(path?: ?Array|string, ...args?: Array): Function; + methodOf(object?: ?Object, ...args?: Array): Function; + mixin(object?: T, source: Object, options?: { chain: bool }): T; + noConflict(): Lodash; + noop(): void; + nthArg(n?: number): Function; + over(...iteratees: Array): Function; + over(iteratees: Array): Function; + overEvery(...predicates: Array): Function; + overEvery(predicates: Array): Function; + overSome(...predicates: Array): Function; + overSome(predicates: Array): Function; + property(path?: ?Array|string): Function; + propertyOf(object?: ?Object): Function; + range(start: number, end: number, step?: number): Array; + range(end: number, step?: number): Array; + rangeRight(start: number, end: number, step?: number): Array; + rangeRight(end: number, step?: number): Array; + runInContext(context?: Object): Function; + + stubArray(): Array<*>; + stubFalse(): false; + stubObject(): {}; + stubString(): ''; + stubTrue(): true; + times(n: number, iteratee?: Function): Function; + toPath(value: any): Array; + uniqueId(prefix?: string): string; + + // Properties + VERSION: string; + templateSettings: TemplateSettings; + } + + declare var exports: Lodash; +} diff --git a/flow-typed/npm/react-addons-test-utils_v15.x.x.js b/flow-typed/npm/react-addons-test-utils_v15.x.x.js new file mode 100644 index 0000000..b4d753d --- /dev/null +++ b/flow-typed/npm/react-addons-test-utils_v15.x.x.js @@ -0,0 +1,28 @@ +// flow-typed signature: 323fcc1a3353d5f7a36c5f1edcd963ef +// flow-typed version: 41f45a7d8c/react-addons-test-utils_v15.x.x/flow_>=v0.23.x + +declare type ReactAddonTest$FunctionOrComponentClass = React$Component | Function; +declare module 'react-addons-test-utils' { + declare var Simulate: { + [eventName: string]: (element: Element, eventData?: Object) => void; + }; + declare function renderIntoDocument(instance: React$Element): React$Component; + declare function mockComponent(componentClass: ReactAddonTest$FunctionOrComponentClass, mockTagName?: string): Object; + declare function isElement(element: React$Element): boolean; + declare function isElementOfType(element: React$Element, componentClass: ReactAddonTest$FunctionOrComponentClass): boolean; + declare function isDOMComponent(instance: React$Component): boolean; + declare function isCompositeComponent(instance: React$Component): boolean; + declare function isCompositeComponentWithType(instance: React$Component, componentClass: ReactAddonTest$FunctionOrComponentClass): boolean; + declare function findAllInRenderedTree(tree: React$Component, test: (child: React$Component) => boolean): Array>; + declare function scryRenderedDOMComponentsWithClass(tree: React$Component, className: string): Array; + declare function findRenderedDOMComponentWithClass(tree: React$Component, className: string): ?Element; + declare function scryRenderedDOMComponentsWithTag(tree: React$Component, tagName: string): Array; + declare function findRenderedDOMComponentWithTag(tree: React$Component, tagName: string): ?Element; + declare function scryRenderedComponentsWithType(tree: React$Component, componentClass: ReactAddonTest$FunctionOrComponentClass): Array>; + declare function findRenderedComponentWithType(tree: React$Component, componentClass: ReactAddonTest$FunctionOrComponentClass): ?React$Component; + declare class ReactShallowRender { + render(element: React$Element): void; + getRenderOutput(): React$Element; + } + declare function createRenderer(): ReactShallowRender; +} diff --git a/flow-typed/npm/react-redux_v4.x.x.js b/flow-typed/npm/react-redux_v4.x.x.js new file mode 100644 index 0000000..ddf0d6e --- /dev/null +++ b/flow-typed/npm/react-redux_v4.x.x.js @@ -0,0 +1,89 @@ +// flow-typed signature: e0de1bae8e4653952fd0d24ea3610669 +// flow-typed version: c4bbd91cfc/react-redux_v4.x.x/flow_>=v0.30.x + +import type { Dispatch, Store } from 'redux' + +declare module 'react-redux' { + + /* + + S = State + A = Action + OP = OwnProps + SP = StateProps + DP = DispatchProps + + */ + + declare type MapStateToProps = (state: S, ownProps: OP) => SP | MapStateToProps; + + declare type MapDispatchToProps = ((dispatch: Dispatch, ownProps: OP) => DP) | DP; + + declare type MergeProps = (stateProps: SP, dispatchProps: DP, ownProps: OP) => P; + + declare type StatelessComponent

= (props: P) => ?React$Element; + + declare class ConnectedComponent extends React$Component { + static WrappedComponent: Class>; + getWrappedInstance(): React$Component; + static defaultProps: void; + props: OP; + state: void; + } + + declare type ConnectedComponentClass = Class>; + + declare type Connector = { + (component: StatelessComponent

): ConnectedComponentClass; + (component: Class>): ConnectedComponentClass; + }; + + declare class Provider extends React$Component, children?: any }, void> { } + + declare type ConnectOptions = { + pure?: boolean, + withRef?: boolean + }; + + declare type Null = null | void; + + declare function connect( + ...rest: Array // <= workaround for https://github.com/facebook/flow/issues/2360 + ): Connector } & OP>>; + + declare function connect( + mapStateToProps: Null, + mapDispatchToProps: Null, + mergeProps: Null, + options: ConnectOptions + ): Connector } & OP>>; + + declare function connect( + mapStateToProps: MapStateToProps, + mapDispatchToProps: Null, + mergeProps: Null, + options?: ConnectOptions + ): Connector } & OP>>; + + declare function connect( + mapStateToProps: Null, + mapDispatchToProps: MapDispatchToProps, + mergeProps: Null, + options?: ConnectOptions + ): Connector>; + + declare function connect( + mapStateToProps: MapStateToProps, + mapDispatchToProps: MapDispatchToProps, + mergeProps: Null, + options?: ConnectOptions + ): Connector>; + + declare function connect( + mapStateToProps: MapStateToProps, + mapDispatchToProps: MapDispatchToProps, + mergeProps: MergeProps, + options?: ConnectOptions + ): Connector; + +} diff --git a/flow-typed/npm/react-test-renderer_vx.x.x.js b/flow-typed/npm/react-test-renderer_vx.x.x.js new file mode 100644 index 0000000..576b1fd --- /dev/null +++ b/flow-typed/npm/react-test-renderer_vx.x.x.js @@ -0,0 +1,598 @@ +// flow-typed signature: 0b60f1696867237a09ce91890f03a183 +// flow-typed version: <>/react-test-renderer_v^15.4.0/flow_v0.36.0 + +/** + * This is an autogenerated libdef stub for: + * + * 'react-test-renderer' + * + * 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-test-renderer' { + 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 'react-test-renderer/lib/accumulate' { + declare module.exports: any; +} + +declare module 'react-test-renderer/lib/accumulateInto' { + declare module.exports: any; +} + +declare module 'react-test-renderer/lib/adler32' { + declare module.exports: any; +} + +declare module 'react-test-renderer/lib/CallbackQueue' { + declare module.exports: any; +} + +declare module 'react-test-renderer/lib/canDefineProperty' { + declare module.exports: any; +} + +declare module 'react-test-renderer/lib/checkReactTypeSpec' { + declare module.exports: any; +} + +declare module 'react-test-renderer/lib/deprecated' { + declare module.exports: any; +} + +declare module 'react-test-renderer/lib/EventConstants' { + declare module.exports: any; +} + +declare module 'react-test-renderer/lib/EventPluginHub' { + declare module.exports: any; +} + +declare module 'react-test-renderer/lib/EventPluginRegistry' { + declare module.exports: any; +} + +declare module 'react-test-renderer/lib/EventPluginUtils' { + declare module.exports: any; +} + +declare module 'react-test-renderer/lib/EventPropagators' { + declare module.exports: any; +} + +declare module 'react-test-renderer/lib/flattenChildren' { + declare module.exports: any; +} + +declare module 'react-test-renderer/lib/forEachAccumulated' { + declare module.exports: any; +} + +declare module 'react-test-renderer/lib/getHostComponentFromComposite' { + declare module.exports: any; +} + +declare module 'react-test-renderer/lib/getIteratorFn' { + declare module.exports: any; +} + +declare module 'react-test-renderer/lib/getNextDebugID' { + declare module.exports: any; +} + +declare module 'react-test-renderer/lib/instantiateReactComponent' { + declare module.exports: any; +} + +declare module 'react-test-renderer/lib/isTextInputElement' { + declare module.exports: any; +} + +declare module 'react-test-renderer/lib/KeyEscapeUtils' { + declare module.exports: any; +} + +declare module 'react-test-renderer/lib/PluginModuleType' { + declare module.exports: any; +} + +declare module 'react-test-renderer/lib/PooledClass' { + declare module.exports: any; +} + +declare module 'react-test-renderer/lib/ReactChildFiber' { + declare module.exports: any; +} + +declare module 'react-test-renderer/lib/ReactChildReconciler' { + declare module.exports: any; +} + +declare module 'react-test-renderer/lib/ReactComponentEnvironment' { + declare module.exports: any; +} + +declare module 'react-test-renderer/lib/ReactCompositeComponent' { + declare module.exports: any; +} + +declare module 'react-test-renderer/lib/ReactCoroutine' { + declare module.exports: any; +} + +declare module 'react-test-renderer/lib/ReactDebugTool' { + declare module.exports: any; +} + +declare module 'react-test-renderer/lib/ReactDefaultBatchingStrategy' { + declare module.exports: any; +} + +declare module 'react-test-renderer/lib/ReactElementSymbol' { + declare module.exports: any; +} + +declare module 'react-test-renderer/lib/ReactEmptyComponent' { + declare module.exports: any; +} + +declare module 'react-test-renderer/lib/ReactErrorUtils' { + declare module.exports: any; +} + +declare module 'react-test-renderer/lib/ReactEventEmitterMixin' { + declare module.exports: any; +} + +declare module 'react-test-renderer/lib/ReactFeatureFlags' { + declare module.exports: any; +} + +declare module 'react-test-renderer/lib/ReactFiber' { + declare module.exports: any; +} + +declare module 'react-test-renderer/lib/ReactFiberBeginWork' { + declare module.exports: any; +} + +declare module 'react-test-renderer/lib/ReactFiberCommitWork' { + declare module.exports: any; +} + +declare module 'react-test-renderer/lib/ReactFiberCompleteWork' { + declare module.exports: any; +} + +declare module 'react-test-renderer/lib/ReactFiberReconciler' { + declare module.exports: any; +} + +declare module 'react-test-renderer/lib/ReactFiberRoot' { + declare module.exports: any; +} + +declare module 'react-test-renderer/lib/ReactFiberScheduler' { + declare module.exports: any; +} + +declare module 'react-test-renderer/lib/ReactFiberUpdateQueue' { + declare module.exports: any; +} + +declare module 'react-test-renderer/lib/ReactHostComponent' { + declare module.exports: any; +} + +declare module 'react-test-renderer/lib/ReactHostOperationHistoryHook' { + declare module.exports: any; +} + +declare module 'react-test-renderer/lib/ReactInstanceMap' { + declare module.exports: any; +} + +declare module 'react-test-renderer/lib/ReactInstanceType' { + declare module.exports: any; +} + +declare module 'react-test-renderer/lib/ReactInstrumentation' { + declare module.exports: any; +} + +declare module 'react-test-renderer/lib/ReactInvalidSetStateWarningHook' { + declare module.exports: any; +} + +declare module 'react-test-renderer/lib/ReactMultiChild' { + declare module.exports: any; +} + +declare module 'react-test-renderer/lib/ReactMultiChildUpdateTypes' { + declare module.exports: any; +} + +declare module 'react-test-renderer/lib/ReactNodeTypes' { + declare module.exports: any; +} + +declare module 'react-test-renderer/lib/ReactOwner' { + declare module.exports: any; +} + +declare module 'react-test-renderer/lib/ReactPerf' { + declare module.exports: any; +} + +declare module 'react-test-renderer/lib/ReactPriorityLevel' { + declare module.exports: any; +} + +declare module 'react-test-renderer/lib/reactProdInvariant' { + declare module.exports: any; +} + +declare module 'react-test-renderer/lib/ReactPropTypeLocationNames' { + declare module.exports: any; +} + +declare module 'react-test-renderer/lib/ReactPropTypeLocations' { + declare module.exports: any; +} + +declare module 'react-test-renderer/lib/ReactPropTypesSecret' { + declare module.exports: any; +} + +declare module 'react-test-renderer/lib/ReactReconciler' { + declare module.exports: any; +} + +declare module 'react-test-renderer/lib/ReactRef' { + declare module.exports: any; +} + +declare module 'react-test-renderer/lib/ReactReifiedYield' { + declare module.exports: any; +} + +declare module 'react-test-renderer/lib/ReactSimpleEmptyComponent' { + declare module.exports: any; +} + +declare module 'react-test-renderer/lib/ReactSyntheticEventType' { + declare module.exports: any; +} + +declare module 'react-test-renderer/lib/ReactTestEmptyComponent' { + declare module.exports: any; +} + +declare module 'react-test-renderer/lib/ReactTestMount' { + declare module.exports: any; +} + +declare module 'react-test-renderer/lib/ReactTestReconcileTransaction' { + declare module.exports: any; +} + +declare module 'react-test-renderer/lib/ReactTestRenderer' { + declare module.exports: any; +} + +declare module 'react-test-renderer/lib/ReactTestTextComponent' { + declare module.exports: any; +} + +declare module 'react-test-renderer/lib/ReactTypeOfWork' { + declare module.exports: any; +} + +declare module 'react-test-renderer/lib/ReactTypes' { + declare module.exports: any; +} + +declare module 'react-test-renderer/lib/ReactUpdateQueue' { + declare module.exports: any; +} + +declare module 'react-test-renderer/lib/ReactUpdates' { + declare module.exports: any; +} + +declare module 'react-test-renderer/lib/ReactVersion' { + declare module.exports: any; +} + +declare module 'react-test-renderer/lib/ResponderEventPlugin' { + declare module.exports: any; +} + +declare module 'react-test-renderer/lib/ResponderSyntheticEvent' { + declare module.exports: any; +} + +declare module 'react-test-renderer/lib/ResponderTouchHistoryStore' { + declare module.exports: any; +} + +declare module 'react-test-renderer/lib/shouldUpdateReactComponent' { + declare module.exports: any; +} + +declare module 'react-test-renderer/lib/SyntheticEvent' { + declare module.exports: any; +} + +declare module 'react-test-renderer/lib/TouchHistoryMath' { + declare module.exports: any; +} + +declare module 'react-test-renderer/lib/Transaction' { + declare module.exports: any; +} + +declare module 'react-test-renderer/lib/traverseAllChildren' { + declare module.exports: any; +} + +// Filename aliases +declare module 'react-test-renderer/index' { + declare module.exports: $Exports<'react-test-renderer'>; +} +declare module 'react-test-renderer/index.js' { + declare module.exports: $Exports<'react-test-renderer'>; +} +declare module 'react-test-renderer/lib/accumulate.js' { + declare module.exports: $Exports<'react-test-renderer/lib/accumulate'>; +} +declare module 'react-test-renderer/lib/accumulateInto.js' { + declare module.exports: $Exports<'react-test-renderer/lib/accumulateInto'>; +} +declare module 'react-test-renderer/lib/adler32.js' { + declare module.exports: $Exports<'react-test-renderer/lib/adler32'>; +} +declare module 'react-test-renderer/lib/CallbackQueue.js' { + declare module.exports: $Exports<'react-test-renderer/lib/CallbackQueue'>; +} +declare module 'react-test-renderer/lib/canDefineProperty.js' { + declare module.exports: $Exports<'react-test-renderer/lib/canDefineProperty'>; +} +declare module 'react-test-renderer/lib/checkReactTypeSpec.js' { + declare module.exports: $Exports<'react-test-renderer/lib/checkReactTypeSpec'>; +} +declare module 'react-test-renderer/lib/deprecated.js' { + declare module.exports: $Exports<'react-test-renderer/lib/deprecated'>; +} +declare module 'react-test-renderer/lib/EventConstants.js' { + declare module.exports: $Exports<'react-test-renderer/lib/EventConstants'>; +} +declare module 'react-test-renderer/lib/EventPluginHub.js' { + declare module.exports: $Exports<'react-test-renderer/lib/EventPluginHub'>; +} +declare module 'react-test-renderer/lib/EventPluginRegistry.js' { + declare module.exports: $Exports<'react-test-renderer/lib/EventPluginRegistry'>; +} +declare module 'react-test-renderer/lib/EventPluginUtils.js' { + declare module.exports: $Exports<'react-test-renderer/lib/EventPluginUtils'>; +} +declare module 'react-test-renderer/lib/EventPropagators.js' { + declare module.exports: $Exports<'react-test-renderer/lib/EventPropagators'>; +} +declare module 'react-test-renderer/lib/flattenChildren.js' { + declare module.exports: $Exports<'react-test-renderer/lib/flattenChildren'>; +} +declare module 'react-test-renderer/lib/forEachAccumulated.js' { + declare module.exports: $Exports<'react-test-renderer/lib/forEachAccumulated'>; +} +declare module 'react-test-renderer/lib/getHostComponentFromComposite.js' { + declare module.exports: $Exports<'react-test-renderer/lib/getHostComponentFromComposite'>; +} +declare module 'react-test-renderer/lib/getIteratorFn.js' { + declare module.exports: $Exports<'react-test-renderer/lib/getIteratorFn'>; +} +declare module 'react-test-renderer/lib/getNextDebugID.js' { + declare module.exports: $Exports<'react-test-renderer/lib/getNextDebugID'>; +} +declare module 'react-test-renderer/lib/instantiateReactComponent.js' { + declare module.exports: $Exports<'react-test-renderer/lib/instantiateReactComponent'>; +} +declare module 'react-test-renderer/lib/isTextInputElement.js' { + declare module.exports: $Exports<'react-test-renderer/lib/isTextInputElement'>; +} +declare module 'react-test-renderer/lib/KeyEscapeUtils.js' { + declare module.exports: $Exports<'react-test-renderer/lib/KeyEscapeUtils'>; +} +declare module 'react-test-renderer/lib/PluginModuleType.js' { + declare module.exports: $Exports<'react-test-renderer/lib/PluginModuleType'>; +} +declare module 'react-test-renderer/lib/PooledClass.js' { + declare module.exports: $Exports<'react-test-renderer/lib/PooledClass'>; +} +declare module 'react-test-renderer/lib/ReactChildFiber.js' { + declare module.exports: $Exports<'react-test-renderer/lib/ReactChildFiber'>; +} +declare module 'react-test-renderer/lib/ReactChildReconciler.js' { + declare module.exports: $Exports<'react-test-renderer/lib/ReactChildReconciler'>; +} +declare module 'react-test-renderer/lib/ReactComponentEnvironment.js' { + declare module.exports: $Exports<'react-test-renderer/lib/ReactComponentEnvironment'>; +} +declare module 'react-test-renderer/lib/ReactCompositeComponent.js' { + declare module.exports: $Exports<'react-test-renderer/lib/ReactCompositeComponent'>; +} +declare module 'react-test-renderer/lib/ReactCoroutine.js' { + declare module.exports: $Exports<'react-test-renderer/lib/ReactCoroutine'>; +} +declare module 'react-test-renderer/lib/ReactDebugTool.js' { + declare module.exports: $Exports<'react-test-renderer/lib/ReactDebugTool'>; +} +declare module 'react-test-renderer/lib/ReactDefaultBatchingStrategy.js' { + declare module.exports: $Exports<'react-test-renderer/lib/ReactDefaultBatchingStrategy'>; +} +declare module 'react-test-renderer/lib/ReactElementSymbol.js' { + declare module.exports: $Exports<'react-test-renderer/lib/ReactElementSymbol'>; +} +declare module 'react-test-renderer/lib/ReactEmptyComponent.js' { + declare module.exports: $Exports<'react-test-renderer/lib/ReactEmptyComponent'>; +} +declare module 'react-test-renderer/lib/ReactErrorUtils.js' { + declare module.exports: $Exports<'react-test-renderer/lib/ReactErrorUtils'>; +} +declare module 'react-test-renderer/lib/ReactEventEmitterMixin.js' { + declare module.exports: $Exports<'react-test-renderer/lib/ReactEventEmitterMixin'>; +} +declare module 'react-test-renderer/lib/ReactFeatureFlags.js' { + declare module.exports: $Exports<'react-test-renderer/lib/ReactFeatureFlags'>; +} +declare module 'react-test-renderer/lib/ReactFiber.js' { + declare module.exports: $Exports<'react-test-renderer/lib/ReactFiber'>; +} +declare module 'react-test-renderer/lib/ReactFiberBeginWork.js' { + declare module.exports: $Exports<'react-test-renderer/lib/ReactFiberBeginWork'>; +} +declare module 'react-test-renderer/lib/ReactFiberCommitWork.js' { + declare module.exports: $Exports<'react-test-renderer/lib/ReactFiberCommitWork'>; +} +declare module 'react-test-renderer/lib/ReactFiberCompleteWork.js' { + declare module.exports: $Exports<'react-test-renderer/lib/ReactFiberCompleteWork'>; +} +declare module 'react-test-renderer/lib/ReactFiberReconciler.js' { + declare module.exports: $Exports<'react-test-renderer/lib/ReactFiberReconciler'>; +} +declare module 'react-test-renderer/lib/ReactFiberRoot.js' { + declare module.exports: $Exports<'react-test-renderer/lib/ReactFiberRoot'>; +} +declare module 'react-test-renderer/lib/ReactFiberScheduler.js' { + declare module.exports: $Exports<'react-test-renderer/lib/ReactFiberScheduler'>; +} +declare module 'react-test-renderer/lib/ReactFiberUpdateQueue.js' { + declare module.exports: $Exports<'react-test-renderer/lib/ReactFiberUpdateQueue'>; +} +declare module 'react-test-renderer/lib/ReactHostComponent.js' { + declare module.exports: $Exports<'react-test-renderer/lib/ReactHostComponent'>; +} +declare module 'react-test-renderer/lib/ReactHostOperationHistoryHook.js' { + declare module.exports: $Exports<'react-test-renderer/lib/ReactHostOperationHistoryHook'>; +} +declare module 'react-test-renderer/lib/ReactInstanceMap.js' { + declare module.exports: $Exports<'react-test-renderer/lib/ReactInstanceMap'>; +} +declare module 'react-test-renderer/lib/ReactInstanceType.js' { + declare module.exports: $Exports<'react-test-renderer/lib/ReactInstanceType'>; +} +declare module 'react-test-renderer/lib/ReactInstrumentation.js' { + declare module.exports: $Exports<'react-test-renderer/lib/ReactInstrumentation'>; +} +declare module 'react-test-renderer/lib/ReactInvalidSetStateWarningHook.js' { + declare module.exports: $Exports<'react-test-renderer/lib/ReactInvalidSetStateWarningHook'>; +} +declare module 'react-test-renderer/lib/ReactMultiChild.js' { + declare module.exports: $Exports<'react-test-renderer/lib/ReactMultiChild'>; +} +declare module 'react-test-renderer/lib/ReactMultiChildUpdateTypes.js' { + declare module.exports: $Exports<'react-test-renderer/lib/ReactMultiChildUpdateTypes'>; +} +declare module 'react-test-renderer/lib/ReactNodeTypes.js' { + declare module.exports: $Exports<'react-test-renderer/lib/ReactNodeTypes'>; +} +declare module 'react-test-renderer/lib/ReactOwner.js' { + declare module.exports: $Exports<'react-test-renderer/lib/ReactOwner'>; +} +declare module 'react-test-renderer/lib/ReactPerf.js' { + declare module.exports: $Exports<'react-test-renderer/lib/ReactPerf'>; +} +declare module 'react-test-renderer/lib/ReactPriorityLevel.js' { + declare module.exports: $Exports<'react-test-renderer/lib/ReactPriorityLevel'>; +} +declare module 'react-test-renderer/lib/reactProdInvariant.js' { + declare module.exports: $Exports<'react-test-renderer/lib/reactProdInvariant'>; +} +declare module 'react-test-renderer/lib/ReactPropTypeLocationNames.js' { + declare module.exports: $Exports<'react-test-renderer/lib/ReactPropTypeLocationNames'>; +} +declare module 'react-test-renderer/lib/ReactPropTypeLocations.js' { + declare module.exports: $Exports<'react-test-renderer/lib/ReactPropTypeLocations'>; +} +declare module 'react-test-renderer/lib/ReactPropTypesSecret.js' { + declare module.exports: $Exports<'react-test-renderer/lib/ReactPropTypesSecret'>; +} +declare module 'react-test-renderer/lib/ReactReconciler.js' { + declare module.exports: $Exports<'react-test-renderer/lib/ReactReconciler'>; +} +declare module 'react-test-renderer/lib/ReactRef.js' { + declare module.exports: $Exports<'react-test-renderer/lib/ReactRef'>; +} +declare module 'react-test-renderer/lib/ReactReifiedYield.js' { + declare module.exports: $Exports<'react-test-renderer/lib/ReactReifiedYield'>; +} +declare module 'react-test-renderer/lib/ReactSimpleEmptyComponent.js' { + declare module.exports: $Exports<'react-test-renderer/lib/ReactSimpleEmptyComponent'>; +} +declare module 'react-test-renderer/lib/ReactSyntheticEventType.js' { + declare module.exports: $Exports<'react-test-renderer/lib/ReactSyntheticEventType'>; +} +declare module 'react-test-renderer/lib/ReactTestEmptyComponent.js' { + declare module.exports: $Exports<'react-test-renderer/lib/ReactTestEmptyComponent'>; +} +declare module 'react-test-renderer/lib/ReactTestMount.js' { + declare module.exports: $Exports<'react-test-renderer/lib/ReactTestMount'>; +} +declare module 'react-test-renderer/lib/ReactTestReconcileTransaction.js' { + declare module.exports: $Exports<'react-test-renderer/lib/ReactTestReconcileTransaction'>; +} +declare module 'react-test-renderer/lib/ReactTestRenderer.js' { + declare module.exports: $Exports<'react-test-renderer/lib/ReactTestRenderer'>; +} +declare module 'react-test-renderer/lib/ReactTestTextComponent.js' { + declare module.exports: $Exports<'react-test-renderer/lib/ReactTestTextComponent'>; +} +declare module 'react-test-renderer/lib/ReactTypeOfWork.js' { + declare module.exports: $Exports<'react-test-renderer/lib/ReactTypeOfWork'>; +} +declare module 'react-test-renderer/lib/ReactTypes.js' { + declare module.exports: $Exports<'react-test-renderer/lib/ReactTypes'>; +} +declare module 'react-test-renderer/lib/ReactUpdateQueue.js' { + declare module.exports: $Exports<'react-test-renderer/lib/ReactUpdateQueue'>; +} +declare module 'react-test-renderer/lib/ReactUpdates.js' { + declare module.exports: $Exports<'react-test-renderer/lib/ReactUpdates'>; +} +declare module 'react-test-renderer/lib/ReactVersion.js' { + declare module.exports: $Exports<'react-test-renderer/lib/ReactVersion'>; +} +declare module 'react-test-renderer/lib/ResponderEventPlugin.js' { + declare module.exports: $Exports<'react-test-renderer/lib/ResponderEventPlugin'>; +} +declare module 'react-test-renderer/lib/ResponderSyntheticEvent.js' { + declare module.exports: $Exports<'react-test-renderer/lib/ResponderSyntheticEvent'>; +} +declare module 'react-test-renderer/lib/ResponderTouchHistoryStore.js' { + declare module.exports: $Exports<'react-test-renderer/lib/ResponderTouchHistoryStore'>; +} +declare module 'react-test-renderer/lib/shouldUpdateReactComponent.js' { + declare module.exports: $Exports<'react-test-renderer/lib/shouldUpdateReactComponent'>; +} +declare module 'react-test-renderer/lib/SyntheticEvent.js' { + declare module.exports: $Exports<'react-test-renderer/lib/SyntheticEvent'>; +} +declare module 'react-test-renderer/lib/TouchHistoryMath.js' { + declare module.exports: $Exports<'react-test-renderer/lib/TouchHistoryMath'>; +} +declare module 'react-test-renderer/lib/Transaction.js' { + declare module.exports: $Exports<'react-test-renderer/lib/Transaction'>; +} +declare module 'react-test-renderer/lib/traverseAllChildren.js' { + declare module.exports: $Exports<'react-test-renderer/lib/traverseAllChildren'>; +} diff --git a/flow-typed/npm/redux_v3.x.x.js b/flow-typed/npm/redux_v3.x.x.js new file mode 100644 index 0000000..0094abf --- /dev/null +++ b/flow-typed/npm/redux_v3.x.x.js @@ -0,0 +1,56 @@ +// flow-typed signature: ba132c96664f1a05288f3eb2272a3c35 +// flow-typed version: c4bbd91cfc/redux_v3.x.x/flow_>=v0.33.x + +declare module 'redux' { + + /* + + S = State + A = Action + + */ + + declare type Dispatch }> = (action: A) => A; + + declare type MiddlewareAPI = { + dispatch: Dispatch; + getState(): S; + }; + + declare type Store = { + // rewrite MiddlewareAPI members in order to get nicer error messages (intersections produce long messages) + dispatch: Dispatch; + getState(): S; + subscribe(listener: () => void): () => void; + replaceReducer(nextReducer: Reducer): void + }; + + declare type Reducer = (state: S, action: A) => S; + + declare type Middleware = + (api: MiddlewareAPI) => + (next: Dispatch) => Dispatch; + + declare type StoreCreator = { + (reducer: Reducer, enhancer?: StoreEnhancer): Store; + (reducer: Reducer, preloadedState: S, enhancer?: StoreEnhancer): Store; + }; + + declare type StoreEnhancer = (next: StoreCreator) => StoreCreator; + + declare function createStore(reducer: Reducer, enhancer?: StoreEnhancer): Store; + declare function createStore(reducer: Reducer, preloadedState: S, enhancer?: StoreEnhancer): Store; + + declare function applyMiddleware(...middlewares: Array>): StoreEnhancer; + + declare type ActionCreator = (...args: Array) => A; + declare type ActionCreators = { [key: K]: ActionCreator }; + + declare function bindActionCreators>(actionCreator: C, dispatch: Dispatch): C; + declare function bindActionCreators>(actionCreators: C, dispatch: Dispatch): C; + + declare function combineReducers(reducers: O): Reducer<$ObjMap(r: Reducer) => S>, A>; + + declare function compose(...fns: Array>): Function; + +} diff --git a/flow-typed/npm/rimraf_vx.x.x.js b/flow-typed/npm/rimraf_vx.x.x.js new file mode 100644 index 0000000..bfadff9 --- /dev/null +++ b/flow-typed/npm/rimraf_vx.x.x.js @@ -0,0 +1,39 @@ +// flow-typed signature: 538f4d6bd77c01441a4b98f87b89cd19 +// flow-typed version: <>/rimraf_v^2.5.4/flow_v0.36.0 + +/** + * This is an autogenerated libdef stub for: + * + * 'rimraf' + * + * 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 'rimraf' { + 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 'rimraf/bin' { + declare module.exports: any; +} + +declare module 'rimraf/rimraf' { + declare module.exports: any; +} + +// Filename aliases +declare module 'rimraf/bin.js' { + declare module.exports: $Exports<'rimraf/bin'>; +} +declare module 'rimraf/rimraf.js' { + declare module.exports: $Exports<'rimraf/rimraf'>; +} diff --git a/flow-typed/npm/webpack-bundle-analyzer_vx.x.x.js b/flow-typed/npm/webpack-bundle-analyzer_vx.x.x.js new file mode 100644 index 0000000..9996397 --- /dev/null +++ b/flow-typed/npm/webpack-bundle-analyzer_vx.x.x.js @@ -0,0 +1,151 @@ +// flow-typed signature: 1da03982c42a76c22880e66de2cf4c95 +// flow-typed version: <>/webpack-bundle-analyzer_v^1.4.1/flow_v0.36.0 + +/** + * This is an autogenerated libdef stub for: + * + * 'webpack-bundle-analyzer' + * + * 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 'webpack-bundle-analyzer' { + 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 'webpack-bundle-analyzer/client/foamtree/carrotsearch.foamtree.asserts' { + declare module.exports: any; +} + +declare module 'webpack-bundle-analyzer/client/foamtree/carrotsearch.foamtree' { + declare module.exports: any; +} + +declare module 'webpack-bundle-analyzer/client/tooltip' { + declare module.exports: any; +} + +declare module 'webpack-bundle-analyzer/client/viewer' { + declare module.exports: any; +} + +declare module 'webpack-bundle-analyzer/lib/analyzer' { + declare module.exports: any; +} + +declare module 'webpack-bundle-analyzer/lib/bin/analyzer' { + declare module.exports: any; +} + +declare module 'webpack-bundle-analyzer/lib/BundleAnalyzerPlugin' { + declare module.exports: any; +} + +declare module 'webpack-bundle-analyzer/lib/index' { + declare module.exports: any; +} + +declare module 'webpack-bundle-analyzer/lib/parseUtils' { + declare module.exports: any; +} + +declare module 'webpack-bundle-analyzer/lib/tree' { + declare module.exports: any; +} + +declare module 'webpack-bundle-analyzer/lib/viewer' { + declare module.exports: any; +} + +declare module 'webpack-bundle-analyzer/src/analyzer' { + declare module.exports: any; +} + +declare module 'webpack-bundle-analyzer/src/bin/analyzer' { + declare module.exports: any; +} + +declare module 'webpack-bundle-analyzer/src/BundleAnalyzerPlugin' { + declare module.exports: any; +} + +declare module 'webpack-bundle-analyzer/src/index' { + declare module.exports: any; +} + +declare module 'webpack-bundle-analyzer/src/parseUtils' { + declare module.exports: any; +} + +declare module 'webpack-bundle-analyzer/src/tree' { + declare module.exports: any; +} + +declare module 'webpack-bundle-analyzer/src/viewer' { + declare module.exports: any; +} + +// Filename aliases +declare module 'webpack-bundle-analyzer/client/foamtree/carrotsearch.foamtree.asserts.js' { + declare module.exports: $Exports<'webpack-bundle-analyzer/client/foamtree/carrotsearch.foamtree.asserts'>; +} +declare module 'webpack-bundle-analyzer/client/foamtree/carrotsearch.foamtree.js' { + declare module.exports: $Exports<'webpack-bundle-analyzer/client/foamtree/carrotsearch.foamtree'>; +} +declare module 'webpack-bundle-analyzer/client/tooltip.js' { + declare module.exports: $Exports<'webpack-bundle-analyzer/client/tooltip'>; +} +declare module 'webpack-bundle-analyzer/client/viewer.js' { + declare module.exports: $Exports<'webpack-bundle-analyzer/client/viewer'>; +} +declare module 'webpack-bundle-analyzer/lib/analyzer.js' { + declare module.exports: $Exports<'webpack-bundle-analyzer/lib/analyzer'>; +} +declare module 'webpack-bundle-analyzer/lib/bin/analyzer.js' { + declare module.exports: $Exports<'webpack-bundle-analyzer/lib/bin/analyzer'>; +} +declare module 'webpack-bundle-analyzer/lib/BundleAnalyzerPlugin.js' { + declare module.exports: $Exports<'webpack-bundle-analyzer/lib/BundleAnalyzerPlugin'>; +} +declare module 'webpack-bundle-analyzer/lib/index.js' { + declare module.exports: $Exports<'webpack-bundle-analyzer/lib/index'>; +} +declare module 'webpack-bundle-analyzer/lib/parseUtils.js' { + declare module.exports: $Exports<'webpack-bundle-analyzer/lib/parseUtils'>; +} +declare module 'webpack-bundle-analyzer/lib/tree.js' { + declare module.exports: $Exports<'webpack-bundle-analyzer/lib/tree'>; +} +declare module 'webpack-bundle-analyzer/lib/viewer.js' { + declare module.exports: $Exports<'webpack-bundle-analyzer/lib/viewer'>; +} +declare module 'webpack-bundle-analyzer/src/analyzer.js' { + declare module.exports: $Exports<'webpack-bundle-analyzer/src/analyzer'>; +} +declare module 'webpack-bundle-analyzer/src/bin/analyzer.js' { + declare module.exports: $Exports<'webpack-bundle-analyzer/src/bin/analyzer'>; +} +declare module 'webpack-bundle-analyzer/src/BundleAnalyzerPlugin.js' { + declare module.exports: $Exports<'webpack-bundle-analyzer/src/BundleAnalyzerPlugin'>; +} +declare module 'webpack-bundle-analyzer/src/index.js' { + declare module.exports: $Exports<'webpack-bundle-analyzer/src/index'>; +} +declare module 'webpack-bundle-analyzer/src/parseUtils.js' { + declare module.exports: $Exports<'webpack-bundle-analyzer/src/parseUtils'>; +} +declare module 'webpack-bundle-analyzer/src/tree.js' { + declare module.exports: $Exports<'webpack-bundle-analyzer/src/tree'>; +} +declare module 'webpack-bundle-analyzer/src/viewer.js' { + declare module.exports: $Exports<'webpack-bundle-analyzer/src/viewer'>; +} diff --git a/flow-typed/npm/webpack_vx.x.x.js b/flow-typed/npm/webpack_vx.x.x.js new file mode 100644 index 0000000..5d6af6f --- /dev/null +++ b/flow-typed/npm/webpack_vx.x.x.js @@ -0,0 +1,1523 @@ +// flow-typed signature: 3ef95588441ce565bf8cf9a72e0ac17d +// flow-typed version: <>/webpack_v^1.13.3/flow_v0.36.0 + +/** + * This is an autogenerated libdef stub for: + * + * 'webpack' + * + * 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 'webpack' { + 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 'webpack/bin/config-optimist' { + declare module.exports: any; +} + +declare module 'webpack/bin/convert-argv' { + declare module.exports: any; +} + +declare module 'webpack/bin/webpack' { + declare module.exports: any; +} + +declare module 'webpack/buildin/amd-define' { + declare module.exports: any; +} + +declare module 'webpack/buildin/amd-options' { + declare module.exports: any; +} + +declare module 'webpack/buildin/module' { + declare module.exports: any; +} + +declare module 'webpack/buildin/return-require' { + declare module.exports: any; +} + +declare module 'webpack/hot/dev-server' { + declare module.exports: any; +} + +declare module 'webpack/hot/log-apply-result' { + declare module.exports: any; +} + +declare module 'webpack/hot/only-dev-server' { + declare module.exports: any; +} + +declare module 'webpack/hot/poll' { + declare module.exports: any; +} + +declare module 'webpack/hot/signal' { + declare module.exports: any; +} + +declare module 'webpack/lib/AbstractPlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/AmdMainTemplatePlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/APIPlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/ArrayMap' { + declare module.exports: any; +} + +declare module 'webpack/lib/AsyncDependenciesBlock' { + declare module.exports: any; +} + +declare module 'webpack/lib/AutomaticPrefetchPlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/BannerPlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/BasicEvaluatedExpression' { + declare module.exports: any; +} + +declare module 'webpack/lib/CachePlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/CaseSensitiveModulesWarning' { + declare module.exports: any; +} + +declare module 'webpack/lib/Chunk' { + declare module.exports: any; +} + +declare module 'webpack/lib/ChunkRenderError' { + declare module.exports: any; +} + +declare module 'webpack/lib/ChunkTemplate' { + declare module.exports: any; +} + +declare module 'webpack/lib/CompatibilityPlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/Compilation' { + declare module.exports: any; +} + +declare module 'webpack/lib/Compiler' { + declare module.exports: any; +} + +declare module 'webpack/lib/ConcatSource' { + declare module.exports: any; +} + +declare module 'webpack/lib/ConstPlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/ContextModule' { + declare module.exports: any; +} + +declare module 'webpack/lib/ContextModuleFactory' { + declare module.exports: any; +} + +declare module 'webpack/lib/ContextReplacementPlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/CriticalDependenciesWarning' { + declare module.exports: any; +} + +declare module 'webpack/lib/DefinePlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/DelegatedModule' { + declare module.exports: any; +} + +declare module 'webpack/lib/DelegatedModuleFactoryPlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/DelegatedPlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/dependencies/AMDDefineDependency' { + declare module.exports: any; +} + +declare module 'webpack/lib/dependencies/AMDDefineDependencyParserPlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/dependencies/AMDPlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/dependencies/AMDRequireArrayDependency' { + declare module.exports: any; +} + +declare module 'webpack/lib/dependencies/AMDRequireContextDependency' { + declare module.exports: any; +} + +declare module 'webpack/lib/dependencies/AMDRequireDependenciesBlock' { + declare module.exports: any; +} + +declare module 'webpack/lib/dependencies/AMDRequireDependenciesBlockParserPlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/dependencies/AMDRequireDependency' { + declare module.exports: any; +} + +declare module 'webpack/lib/dependencies/AMDRequireItemDependency' { + declare module.exports: any; +} + +declare module 'webpack/lib/dependencies/CommonJsPlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/dependencies/CommonJsRequireContextDependency' { + declare module.exports: any; +} + +declare module 'webpack/lib/dependencies/CommonJsRequireDependency' { + declare module.exports: any; +} + +declare module 'webpack/lib/dependencies/CommonJsRequireDependencyParserPlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/dependencies/ConstDependency' { + declare module.exports: any; +} + +declare module 'webpack/lib/dependencies/ContextDependency' { + declare module.exports: any; +} + +declare module 'webpack/lib/dependencies/ContextDependencyHelpers' { + declare module.exports: any; +} + +declare module 'webpack/lib/dependencies/ContextDependencyTemplateAsId' { + declare module.exports: any; +} + +declare module 'webpack/lib/dependencies/ContextDependencyTemplateAsRequireCall' { + declare module.exports: any; +} + +declare module 'webpack/lib/dependencies/ContextElementDependency' { + declare module.exports: any; +} + +declare module 'webpack/lib/dependencies/DelegatedSourceDependency' { + declare module.exports: any; +} + +declare module 'webpack/lib/dependencies/DepBlockHelpers' { + declare module.exports: any; +} + +declare module 'webpack/lib/dependencies/DllEntryDependency' { + declare module.exports: any; +} + +declare module 'webpack/lib/dependencies/getFunctionExpression' { + declare module.exports: any; +} + +declare module 'webpack/lib/dependencies/LabeledExportsDependency' { + declare module.exports: any; +} + +declare module 'webpack/lib/dependencies/LabeledModuleDependency' { + declare module.exports: any; +} + +declare module 'webpack/lib/dependencies/LabeledModuleDependencyParserPlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/dependencies/LabeledModulesPlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/dependencies/LoaderDependency' { + declare module.exports: any; +} + +declare module 'webpack/lib/dependencies/LoaderPlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/dependencies/LocalModule' { + declare module.exports: any; +} + +declare module 'webpack/lib/dependencies/LocalModuleDependency' { + declare module.exports: any; +} + +declare module 'webpack/lib/dependencies/LocalModulesHelpers' { + declare module.exports: any; +} + +declare module 'webpack/lib/dependencies/ModuleDependency' { + declare module.exports: any; +} + +declare module 'webpack/lib/dependencies/ModuleDependencyTemplateAsId' { + declare module.exports: any; +} + +declare module 'webpack/lib/dependencies/ModuleDependencyTemplateAsRequireId' { + declare module.exports: any; +} + +declare module 'webpack/lib/dependencies/ModuleHotAcceptDependency' { + declare module.exports: any; +} + +declare module 'webpack/lib/dependencies/ModuleHotDeclineDependency' { + declare module.exports: any; +} + +declare module 'webpack/lib/dependencies/MultiEntryDependency' { + declare module.exports: any; +} + +declare module 'webpack/lib/dependencies/NullDependency' { + declare module.exports: any; +} + +declare module 'webpack/lib/dependencies/NullDependencyTemplate' { + declare module.exports: any; +} + +declare module 'webpack/lib/dependencies/PrefetchDependency' { + declare module.exports: any; +} + +declare module 'webpack/lib/dependencies/RequireContextDependency' { + declare module.exports: any; +} + +declare module 'webpack/lib/dependencies/RequireContextDependencyParserPlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/dependencies/RequireContextPlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/dependencies/RequireEnsureDependenciesBlock' { + declare module.exports: any; +} + +declare module 'webpack/lib/dependencies/RequireEnsureDependenciesBlockParserPlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/dependencies/RequireEnsureDependency' { + declare module.exports: any; +} + +declare module 'webpack/lib/dependencies/RequireEnsureItemDependency' { + declare module.exports: any; +} + +declare module 'webpack/lib/dependencies/RequireEnsurePlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/dependencies/RequireHeaderDependency' { + declare module.exports: any; +} + +declare module 'webpack/lib/dependencies/RequireIncludeDependency' { + declare module.exports: any; +} + +declare module 'webpack/lib/dependencies/RequireIncludeDependencyParserPlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/dependencies/RequireIncludePlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/dependencies/RequireResolveContextDependency' { + declare module.exports: any; +} + +declare module 'webpack/lib/dependencies/RequireResolveDependency' { + declare module.exports: any; +} + +declare module 'webpack/lib/dependencies/RequireResolveDependencyParserPlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/dependencies/RequireResolveHeaderDependency' { + declare module.exports: any; +} + +declare module 'webpack/lib/dependencies/SingleEntryDependency' { + declare module.exports: any; +} + +declare module 'webpack/lib/dependencies/TemplateArgumentDependency' { + declare module.exports: any; +} + +declare module 'webpack/lib/dependencies/WebpackMissingModule' { + declare module.exports: any; +} + +declare module 'webpack/lib/DependenciesBlock' { + declare module.exports: any; +} + +declare module 'webpack/lib/DependenciesBlockVariable' { + declare module.exports: any; +} + +declare module 'webpack/lib/Dependency' { + declare module.exports: any; +} + +declare module 'webpack/lib/DllEntryPlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/DllModule' { + declare module.exports: any; +} + +declare module 'webpack/lib/DllModuleFactory' { + declare module.exports: any; +} + +declare module 'webpack/lib/DllPlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/DllReferencePlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/EntryModuleNotFoundError' { + declare module.exports: any; +} + +declare module 'webpack/lib/EntryOptionPlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/EnvironmentPlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/EvalDevToolModulePlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/EvalDevToolModuleTemplatePlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/EvalSourceMapDevToolModuleTemplatePlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/EvalSourceMapDevToolPlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/ExtendedAPIPlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/ExternalModule' { + declare module.exports: any; +} + +declare module 'webpack/lib/ExternalModuleFactoryPlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/ExternalsPlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/FunctionModulePlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/FunctionModuleTemplatePlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/HotModuleReplacement.runtime' { + declare module.exports: any; +} + +declare module 'webpack/lib/HotModuleReplacementPlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/HotUpdateChunkTemplate' { + declare module.exports: any; +} + +declare module 'webpack/lib/IgnorePlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/JsonpChunkTemplatePlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/JsonpExportMainTemplatePlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/JsonpHotUpdateChunkTemplatePlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/JsonpMainTemplate.runtime' { + declare module.exports: any; +} + +declare module 'webpack/lib/JsonpMainTemplatePlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/JsonpTemplatePlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/LibManifestPlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/LibraryTemplatePlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/LoaderTargetPlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/MainTemplate' { + declare module.exports: any; +} + +declare module 'webpack/lib/MemoryOutputFileSystem' { + declare module.exports: any; +} + +declare module 'webpack/lib/Module' { + declare module.exports: any; +} + +declare module 'webpack/lib/ModuleFilenameHelpers' { + declare module.exports: any; +} + +declare module 'webpack/lib/ModuleNotFoundError' { + declare module.exports: any; +} + +declare module 'webpack/lib/ModuleParseError' { + declare module.exports: any; +} + +declare module 'webpack/lib/ModuleParserHelpers' { + declare module.exports: any; +} + +declare module 'webpack/lib/ModuleReason' { + declare module.exports: any; +} + +declare module 'webpack/lib/ModuleTemplate' { + declare module.exports: any; +} + +declare module 'webpack/lib/MovedToPluginWarningPlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/MultiCompiler' { + declare module.exports: any; +} + +declare module 'webpack/lib/MultiEntryPlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/MultiModule' { + declare module.exports: any; +} + +declare module 'webpack/lib/MultiModuleFactory' { + declare module.exports: any; +} + +declare module 'webpack/lib/NamedModulesPlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/NewWatchingPlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/node/NodeChunkTemplatePlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/node/NodeEnvironmentPlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/node/NodeHotUpdateChunkTemplatePlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/node/NodeMainTemplate.runtime' { + declare module.exports: any; +} + +declare module 'webpack/lib/node/NodeMainTemplateAsync.runtime' { + declare module.exports: any; +} + +declare module 'webpack/lib/node/NodeMainTemplatePlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/node/NodeOutputFileSystem' { + declare module.exports: any; +} + +declare module 'webpack/lib/node/NodeSourcePlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/node/NodeTargetPlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/node/NodeTemplatePlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/node/NodeWatchFileSystem' { + declare module.exports: any; +} + +declare module 'webpack/lib/node/OldNodeWatchFileSystem' { + declare module.exports: any; +} + +declare module 'webpack/lib/NodeStuffPlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/NoErrorsPlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/NormalModule' { + declare module.exports: any; +} + +declare module 'webpack/lib/NormalModuleFactory' { + declare module.exports: any; +} + +declare module 'webpack/lib/NormalModuleReplacementPlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/NullFactory' { + declare module.exports: any; +} + +declare module 'webpack/lib/OldWatchingPlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/optimize/AggressiveMergingPlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/optimize/CommonsChunkPlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/optimize/DedupePlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/optimize/FlagIncludedChunksPlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/optimize/LimitChunkCountPlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/optimize/MergeDuplicateChunksPlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/optimize/MinChunkSizePlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/optimize/OccurenceOrderPlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/optimize/OccurrenceOrderPlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/optimize/RemoveEmptyChunksPlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/optimize/RemoveParentModulesPlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/optimize/UglifyJsPlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/OptionsApply' { + declare module.exports: any; +} + +declare module 'webpack/lib/OriginalSource' { + declare module.exports: any; +} + +declare module 'webpack/lib/Parser' { + declare module.exports: any; +} + +declare module 'webpack/lib/PrefetchPlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/ProgressPlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/ProvidePlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/RawModule' { + declare module.exports: any; +} + +declare module 'webpack/lib/RawSource' { + declare module.exports: any; +} + +declare module 'webpack/lib/RecordIdsPlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/removeAndDo' { + declare module.exports: any; +} + +declare module 'webpack/lib/RequestShortener' { + declare module.exports: any; +} + +declare module 'webpack/lib/RequireJsStuffPlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/ResolverPlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/SetVarMainTemplatePlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/SingleEntryPlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/Source' { + declare module.exports: any; +} + +declare module 'webpack/lib/SourceMapDevToolModuleOptionsPlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/SourceMapDevToolPlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/SourceMapSource' { + declare module.exports: any; +} + +declare module 'webpack/lib/Stats' { + declare module.exports: any; +} + +declare module 'webpack/lib/Template' { + declare module.exports: any; +} + +declare module 'webpack/lib/TemplatedPathPlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/UmdMainTemplatePlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/UnsupportedFeatureWarning' { + declare module.exports: any; +} + +declare module 'webpack/lib/WarnCaseSensitiveModulesPlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/WatchIgnorePlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/web/WebEnvironmentPlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/webpack' { + declare module.exports: any; +} + +declare module 'webpack/lib/webpack.web' { + declare module.exports: any; +} + +declare module 'webpack/lib/WebpackOptionsApply' { + declare module.exports: any; +} + +declare module 'webpack/lib/WebpackOptionsDefaulter' { + declare module.exports: any; +} + +declare module 'webpack/lib/webworker/WebWorkerChunkTemplatePlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/webworker/WebWorkerMainTemplatePlugin' { + declare module.exports: any; +} + +declare module 'webpack/lib/webworker/WebWorkerTemplatePlugin' { + declare module.exports: any; +} + +declare module 'webpack/web_modules/node-libs-browser' { + declare module.exports: any; +} + +// Filename aliases +declare module 'webpack/bin/config-optimist.js' { + declare module.exports: $Exports<'webpack/bin/config-optimist'>; +} +declare module 'webpack/bin/convert-argv.js' { + declare module.exports: $Exports<'webpack/bin/convert-argv'>; +} +declare module 'webpack/bin/webpack.js' { + declare module.exports: $Exports<'webpack/bin/webpack'>; +} +declare module 'webpack/buildin/amd-define.js' { + declare module.exports: $Exports<'webpack/buildin/amd-define'>; +} +declare module 'webpack/buildin/amd-options.js' { + declare module.exports: $Exports<'webpack/buildin/amd-options'>; +} +declare module 'webpack/buildin/module.js' { + declare module.exports: $Exports<'webpack/buildin/module'>; +} +declare module 'webpack/buildin/return-require.js' { + declare module.exports: $Exports<'webpack/buildin/return-require'>; +} +declare module 'webpack/hot/dev-server.js' { + declare module.exports: $Exports<'webpack/hot/dev-server'>; +} +declare module 'webpack/hot/log-apply-result.js' { + declare module.exports: $Exports<'webpack/hot/log-apply-result'>; +} +declare module 'webpack/hot/only-dev-server.js' { + declare module.exports: $Exports<'webpack/hot/only-dev-server'>; +} +declare module 'webpack/hot/poll.js' { + declare module.exports: $Exports<'webpack/hot/poll'>; +} +declare module 'webpack/hot/signal.js' { + declare module.exports: $Exports<'webpack/hot/signal'>; +} +declare module 'webpack/lib/AbstractPlugin.js' { + declare module.exports: $Exports<'webpack/lib/AbstractPlugin'>; +} +declare module 'webpack/lib/AmdMainTemplatePlugin.js' { + declare module.exports: $Exports<'webpack/lib/AmdMainTemplatePlugin'>; +} +declare module 'webpack/lib/APIPlugin.js' { + declare module.exports: $Exports<'webpack/lib/APIPlugin'>; +} +declare module 'webpack/lib/ArrayMap.js' { + declare module.exports: $Exports<'webpack/lib/ArrayMap'>; +} +declare module 'webpack/lib/AsyncDependenciesBlock.js' { + declare module.exports: $Exports<'webpack/lib/AsyncDependenciesBlock'>; +} +declare module 'webpack/lib/AutomaticPrefetchPlugin.js' { + declare module.exports: $Exports<'webpack/lib/AutomaticPrefetchPlugin'>; +} +declare module 'webpack/lib/BannerPlugin.js' { + declare module.exports: $Exports<'webpack/lib/BannerPlugin'>; +} +declare module 'webpack/lib/BasicEvaluatedExpression.js' { + declare module.exports: $Exports<'webpack/lib/BasicEvaluatedExpression'>; +} +declare module 'webpack/lib/CachePlugin.js' { + declare module.exports: $Exports<'webpack/lib/CachePlugin'>; +} +declare module 'webpack/lib/CaseSensitiveModulesWarning.js' { + declare module.exports: $Exports<'webpack/lib/CaseSensitiveModulesWarning'>; +} +declare module 'webpack/lib/Chunk.js' { + declare module.exports: $Exports<'webpack/lib/Chunk'>; +} +declare module 'webpack/lib/ChunkRenderError.js' { + declare module.exports: $Exports<'webpack/lib/ChunkRenderError'>; +} +declare module 'webpack/lib/ChunkTemplate.js' { + declare module.exports: $Exports<'webpack/lib/ChunkTemplate'>; +} +declare module 'webpack/lib/CompatibilityPlugin.js' { + declare module.exports: $Exports<'webpack/lib/CompatibilityPlugin'>; +} +declare module 'webpack/lib/Compilation.js' { + declare module.exports: $Exports<'webpack/lib/Compilation'>; +} +declare module 'webpack/lib/Compiler.js' { + declare module.exports: $Exports<'webpack/lib/Compiler'>; +} +declare module 'webpack/lib/ConcatSource.js' { + declare module.exports: $Exports<'webpack/lib/ConcatSource'>; +} +declare module 'webpack/lib/ConstPlugin.js' { + declare module.exports: $Exports<'webpack/lib/ConstPlugin'>; +} +declare module 'webpack/lib/ContextModule.js' { + declare module.exports: $Exports<'webpack/lib/ContextModule'>; +} +declare module 'webpack/lib/ContextModuleFactory.js' { + declare module.exports: $Exports<'webpack/lib/ContextModuleFactory'>; +} +declare module 'webpack/lib/ContextReplacementPlugin.js' { + declare module.exports: $Exports<'webpack/lib/ContextReplacementPlugin'>; +} +declare module 'webpack/lib/CriticalDependenciesWarning.js' { + declare module.exports: $Exports<'webpack/lib/CriticalDependenciesWarning'>; +} +declare module 'webpack/lib/DefinePlugin.js' { + declare module.exports: $Exports<'webpack/lib/DefinePlugin'>; +} +declare module 'webpack/lib/DelegatedModule.js' { + declare module.exports: $Exports<'webpack/lib/DelegatedModule'>; +} +declare module 'webpack/lib/DelegatedModuleFactoryPlugin.js' { + declare module.exports: $Exports<'webpack/lib/DelegatedModuleFactoryPlugin'>; +} +declare module 'webpack/lib/DelegatedPlugin.js' { + declare module.exports: $Exports<'webpack/lib/DelegatedPlugin'>; +} +declare module 'webpack/lib/dependencies/AMDDefineDependency.js' { + declare module.exports: $Exports<'webpack/lib/dependencies/AMDDefineDependency'>; +} +declare module 'webpack/lib/dependencies/AMDDefineDependencyParserPlugin.js' { + declare module.exports: $Exports<'webpack/lib/dependencies/AMDDefineDependencyParserPlugin'>; +} +declare module 'webpack/lib/dependencies/AMDPlugin.js' { + declare module.exports: $Exports<'webpack/lib/dependencies/AMDPlugin'>; +} +declare module 'webpack/lib/dependencies/AMDRequireArrayDependency.js' { + declare module.exports: $Exports<'webpack/lib/dependencies/AMDRequireArrayDependency'>; +} +declare module 'webpack/lib/dependencies/AMDRequireContextDependency.js' { + declare module.exports: $Exports<'webpack/lib/dependencies/AMDRequireContextDependency'>; +} +declare module 'webpack/lib/dependencies/AMDRequireDependenciesBlock.js' { + declare module.exports: $Exports<'webpack/lib/dependencies/AMDRequireDependenciesBlock'>; +} +declare module 'webpack/lib/dependencies/AMDRequireDependenciesBlockParserPlugin.js' { + declare module.exports: $Exports<'webpack/lib/dependencies/AMDRequireDependenciesBlockParserPlugin'>; +} +declare module 'webpack/lib/dependencies/AMDRequireDependency.js' { + declare module.exports: $Exports<'webpack/lib/dependencies/AMDRequireDependency'>; +} +declare module 'webpack/lib/dependencies/AMDRequireItemDependency.js' { + declare module.exports: $Exports<'webpack/lib/dependencies/AMDRequireItemDependency'>; +} +declare module 'webpack/lib/dependencies/CommonJsPlugin.js' { + declare module.exports: $Exports<'webpack/lib/dependencies/CommonJsPlugin'>; +} +declare module 'webpack/lib/dependencies/CommonJsRequireContextDependency.js' { + declare module.exports: $Exports<'webpack/lib/dependencies/CommonJsRequireContextDependency'>; +} +declare module 'webpack/lib/dependencies/CommonJsRequireDependency.js' { + declare module.exports: $Exports<'webpack/lib/dependencies/CommonJsRequireDependency'>; +} +declare module 'webpack/lib/dependencies/CommonJsRequireDependencyParserPlugin.js' { + declare module.exports: $Exports<'webpack/lib/dependencies/CommonJsRequireDependencyParserPlugin'>; +} +declare module 'webpack/lib/dependencies/ConstDependency.js' { + declare module.exports: $Exports<'webpack/lib/dependencies/ConstDependency'>; +} +declare module 'webpack/lib/dependencies/ContextDependency.js' { + declare module.exports: $Exports<'webpack/lib/dependencies/ContextDependency'>; +} +declare module 'webpack/lib/dependencies/ContextDependencyHelpers.js' { + declare module.exports: $Exports<'webpack/lib/dependencies/ContextDependencyHelpers'>; +} +declare module 'webpack/lib/dependencies/ContextDependencyTemplateAsId.js' { + declare module.exports: $Exports<'webpack/lib/dependencies/ContextDependencyTemplateAsId'>; +} +declare module 'webpack/lib/dependencies/ContextDependencyTemplateAsRequireCall.js' { + declare module.exports: $Exports<'webpack/lib/dependencies/ContextDependencyTemplateAsRequireCall'>; +} +declare module 'webpack/lib/dependencies/ContextElementDependency.js' { + declare module.exports: $Exports<'webpack/lib/dependencies/ContextElementDependency'>; +} +declare module 'webpack/lib/dependencies/DelegatedSourceDependency.js' { + declare module.exports: $Exports<'webpack/lib/dependencies/DelegatedSourceDependency'>; +} +declare module 'webpack/lib/dependencies/DepBlockHelpers.js' { + declare module.exports: $Exports<'webpack/lib/dependencies/DepBlockHelpers'>; +} +declare module 'webpack/lib/dependencies/DllEntryDependency.js' { + declare module.exports: $Exports<'webpack/lib/dependencies/DllEntryDependency'>; +} +declare module 'webpack/lib/dependencies/getFunctionExpression.js' { + declare module.exports: $Exports<'webpack/lib/dependencies/getFunctionExpression'>; +} +declare module 'webpack/lib/dependencies/LabeledExportsDependency.js' { + declare module.exports: $Exports<'webpack/lib/dependencies/LabeledExportsDependency'>; +} +declare module 'webpack/lib/dependencies/LabeledModuleDependency.js' { + declare module.exports: $Exports<'webpack/lib/dependencies/LabeledModuleDependency'>; +} +declare module 'webpack/lib/dependencies/LabeledModuleDependencyParserPlugin.js' { + declare module.exports: $Exports<'webpack/lib/dependencies/LabeledModuleDependencyParserPlugin'>; +} +declare module 'webpack/lib/dependencies/LabeledModulesPlugin.js' { + declare module.exports: $Exports<'webpack/lib/dependencies/LabeledModulesPlugin'>; +} +declare module 'webpack/lib/dependencies/LoaderDependency.js' { + declare module.exports: $Exports<'webpack/lib/dependencies/LoaderDependency'>; +} +declare module 'webpack/lib/dependencies/LoaderPlugin.js' { + declare module.exports: $Exports<'webpack/lib/dependencies/LoaderPlugin'>; +} +declare module 'webpack/lib/dependencies/LocalModule.js' { + declare module.exports: $Exports<'webpack/lib/dependencies/LocalModule'>; +} +declare module 'webpack/lib/dependencies/LocalModuleDependency.js' { + declare module.exports: $Exports<'webpack/lib/dependencies/LocalModuleDependency'>; +} +declare module 'webpack/lib/dependencies/LocalModulesHelpers.js' { + declare module.exports: $Exports<'webpack/lib/dependencies/LocalModulesHelpers'>; +} +declare module 'webpack/lib/dependencies/ModuleDependency.js' { + declare module.exports: $Exports<'webpack/lib/dependencies/ModuleDependency'>; +} +declare module 'webpack/lib/dependencies/ModuleDependencyTemplateAsId.js' { + declare module.exports: $Exports<'webpack/lib/dependencies/ModuleDependencyTemplateAsId'>; +} +declare module 'webpack/lib/dependencies/ModuleDependencyTemplateAsRequireId.js' { + declare module.exports: $Exports<'webpack/lib/dependencies/ModuleDependencyTemplateAsRequireId'>; +} +declare module 'webpack/lib/dependencies/ModuleHotAcceptDependency.js' { + declare module.exports: $Exports<'webpack/lib/dependencies/ModuleHotAcceptDependency'>; +} +declare module 'webpack/lib/dependencies/ModuleHotDeclineDependency.js' { + declare module.exports: $Exports<'webpack/lib/dependencies/ModuleHotDeclineDependency'>; +} +declare module 'webpack/lib/dependencies/MultiEntryDependency.js' { + declare module.exports: $Exports<'webpack/lib/dependencies/MultiEntryDependency'>; +} +declare module 'webpack/lib/dependencies/NullDependency.js' { + declare module.exports: $Exports<'webpack/lib/dependencies/NullDependency'>; +} +declare module 'webpack/lib/dependencies/NullDependencyTemplate.js' { + declare module.exports: $Exports<'webpack/lib/dependencies/NullDependencyTemplate'>; +} +declare module 'webpack/lib/dependencies/PrefetchDependency.js' { + declare module.exports: $Exports<'webpack/lib/dependencies/PrefetchDependency'>; +} +declare module 'webpack/lib/dependencies/RequireContextDependency.js' { + declare module.exports: $Exports<'webpack/lib/dependencies/RequireContextDependency'>; +} +declare module 'webpack/lib/dependencies/RequireContextDependencyParserPlugin.js' { + declare module.exports: $Exports<'webpack/lib/dependencies/RequireContextDependencyParserPlugin'>; +} +declare module 'webpack/lib/dependencies/RequireContextPlugin.js' { + declare module.exports: $Exports<'webpack/lib/dependencies/RequireContextPlugin'>; +} +declare module 'webpack/lib/dependencies/RequireEnsureDependenciesBlock.js' { + declare module.exports: $Exports<'webpack/lib/dependencies/RequireEnsureDependenciesBlock'>; +} +declare module 'webpack/lib/dependencies/RequireEnsureDependenciesBlockParserPlugin.js' { + declare module.exports: $Exports<'webpack/lib/dependencies/RequireEnsureDependenciesBlockParserPlugin'>; +} +declare module 'webpack/lib/dependencies/RequireEnsureDependency.js' { + declare module.exports: $Exports<'webpack/lib/dependencies/RequireEnsureDependency'>; +} +declare module 'webpack/lib/dependencies/RequireEnsureItemDependency.js' { + declare module.exports: $Exports<'webpack/lib/dependencies/RequireEnsureItemDependency'>; +} +declare module 'webpack/lib/dependencies/RequireEnsurePlugin.js' { + declare module.exports: $Exports<'webpack/lib/dependencies/RequireEnsurePlugin'>; +} +declare module 'webpack/lib/dependencies/RequireHeaderDependency.js' { + declare module.exports: $Exports<'webpack/lib/dependencies/RequireHeaderDependency'>; +} +declare module 'webpack/lib/dependencies/RequireIncludeDependency.js' { + declare module.exports: $Exports<'webpack/lib/dependencies/RequireIncludeDependency'>; +} +declare module 'webpack/lib/dependencies/RequireIncludeDependencyParserPlugin.js' { + declare module.exports: $Exports<'webpack/lib/dependencies/RequireIncludeDependencyParserPlugin'>; +} +declare module 'webpack/lib/dependencies/RequireIncludePlugin.js' { + declare module.exports: $Exports<'webpack/lib/dependencies/RequireIncludePlugin'>; +} +declare module 'webpack/lib/dependencies/RequireResolveContextDependency.js' { + declare module.exports: $Exports<'webpack/lib/dependencies/RequireResolveContextDependency'>; +} +declare module 'webpack/lib/dependencies/RequireResolveDependency.js' { + declare module.exports: $Exports<'webpack/lib/dependencies/RequireResolveDependency'>; +} +declare module 'webpack/lib/dependencies/RequireResolveDependencyParserPlugin.js' { + declare module.exports: $Exports<'webpack/lib/dependencies/RequireResolveDependencyParserPlugin'>; +} +declare module 'webpack/lib/dependencies/RequireResolveHeaderDependency.js' { + declare module.exports: $Exports<'webpack/lib/dependencies/RequireResolveHeaderDependency'>; +} +declare module 'webpack/lib/dependencies/SingleEntryDependency.js' { + declare module.exports: $Exports<'webpack/lib/dependencies/SingleEntryDependency'>; +} +declare module 'webpack/lib/dependencies/TemplateArgumentDependency.js' { + declare module.exports: $Exports<'webpack/lib/dependencies/TemplateArgumentDependency'>; +} +declare module 'webpack/lib/dependencies/WebpackMissingModule.js' { + declare module.exports: $Exports<'webpack/lib/dependencies/WebpackMissingModule'>; +} +declare module 'webpack/lib/DependenciesBlock.js' { + declare module.exports: $Exports<'webpack/lib/DependenciesBlock'>; +} +declare module 'webpack/lib/DependenciesBlockVariable.js' { + declare module.exports: $Exports<'webpack/lib/DependenciesBlockVariable'>; +} +declare module 'webpack/lib/Dependency.js' { + declare module.exports: $Exports<'webpack/lib/Dependency'>; +} +declare module 'webpack/lib/DllEntryPlugin.js' { + declare module.exports: $Exports<'webpack/lib/DllEntryPlugin'>; +} +declare module 'webpack/lib/DllModule.js' { + declare module.exports: $Exports<'webpack/lib/DllModule'>; +} +declare module 'webpack/lib/DllModuleFactory.js' { + declare module.exports: $Exports<'webpack/lib/DllModuleFactory'>; +} +declare module 'webpack/lib/DllPlugin.js' { + declare module.exports: $Exports<'webpack/lib/DllPlugin'>; +} +declare module 'webpack/lib/DllReferencePlugin.js' { + declare module.exports: $Exports<'webpack/lib/DllReferencePlugin'>; +} +declare module 'webpack/lib/EntryModuleNotFoundError.js' { + declare module.exports: $Exports<'webpack/lib/EntryModuleNotFoundError'>; +} +declare module 'webpack/lib/EntryOptionPlugin.js' { + declare module.exports: $Exports<'webpack/lib/EntryOptionPlugin'>; +} +declare module 'webpack/lib/EnvironmentPlugin.js' { + declare module.exports: $Exports<'webpack/lib/EnvironmentPlugin'>; +} +declare module 'webpack/lib/EvalDevToolModulePlugin.js' { + declare module.exports: $Exports<'webpack/lib/EvalDevToolModulePlugin'>; +} +declare module 'webpack/lib/EvalDevToolModuleTemplatePlugin.js' { + declare module.exports: $Exports<'webpack/lib/EvalDevToolModuleTemplatePlugin'>; +} +declare module 'webpack/lib/EvalSourceMapDevToolModuleTemplatePlugin.js' { + declare module.exports: $Exports<'webpack/lib/EvalSourceMapDevToolModuleTemplatePlugin'>; +} +declare module 'webpack/lib/EvalSourceMapDevToolPlugin.js' { + declare module.exports: $Exports<'webpack/lib/EvalSourceMapDevToolPlugin'>; +} +declare module 'webpack/lib/ExtendedAPIPlugin.js' { + declare module.exports: $Exports<'webpack/lib/ExtendedAPIPlugin'>; +} +declare module 'webpack/lib/ExternalModule.js' { + declare module.exports: $Exports<'webpack/lib/ExternalModule'>; +} +declare module 'webpack/lib/ExternalModuleFactoryPlugin.js' { + declare module.exports: $Exports<'webpack/lib/ExternalModuleFactoryPlugin'>; +} +declare module 'webpack/lib/ExternalsPlugin.js' { + declare module.exports: $Exports<'webpack/lib/ExternalsPlugin'>; +} +declare module 'webpack/lib/FunctionModulePlugin.js' { + declare module.exports: $Exports<'webpack/lib/FunctionModulePlugin'>; +} +declare module 'webpack/lib/FunctionModuleTemplatePlugin.js' { + declare module.exports: $Exports<'webpack/lib/FunctionModuleTemplatePlugin'>; +} +declare module 'webpack/lib/HotModuleReplacement.runtime.js' { + declare module.exports: $Exports<'webpack/lib/HotModuleReplacement.runtime'>; +} +declare module 'webpack/lib/HotModuleReplacementPlugin.js' { + declare module.exports: $Exports<'webpack/lib/HotModuleReplacementPlugin'>; +} +declare module 'webpack/lib/HotUpdateChunkTemplate.js' { + declare module.exports: $Exports<'webpack/lib/HotUpdateChunkTemplate'>; +} +declare module 'webpack/lib/IgnorePlugin.js' { + declare module.exports: $Exports<'webpack/lib/IgnorePlugin'>; +} +declare module 'webpack/lib/JsonpChunkTemplatePlugin.js' { + declare module.exports: $Exports<'webpack/lib/JsonpChunkTemplatePlugin'>; +} +declare module 'webpack/lib/JsonpExportMainTemplatePlugin.js' { + declare module.exports: $Exports<'webpack/lib/JsonpExportMainTemplatePlugin'>; +} +declare module 'webpack/lib/JsonpHotUpdateChunkTemplatePlugin.js' { + declare module.exports: $Exports<'webpack/lib/JsonpHotUpdateChunkTemplatePlugin'>; +} +declare module 'webpack/lib/JsonpMainTemplate.runtime.js' { + declare module.exports: $Exports<'webpack/lib/JsonpMainTemplate.runtime'>; +} +declare module 'webpack/lib/JsonpMainTemplatePlugin.js' { + declare module.exports: $Exports<'webpack/lib/JsonpMainTemplatePlugin'>; +} +declare module 'webpack/lib/JsonpTemplatePlugin.js' { + declare module.exports: $Exports<'webpack/lib/JsonpTemplatePlugin'>; +} +declare module 'webpack/lib/LibManifestPlugin.js' { + declare module.exports: $Exports<'webpack/lib/LibManifestPlugin'>; +} +declare module 'webpack/lib/LibraryTemplatePlugin.js' { + declare module.exports: $Exports<'webpack/lib/LibraryTemplatePlugin'>; +} +declare module 'webpack/lib/LoaderTargetPlugin.js' { + declare module.exports: $Exports<'webpack/lib/LoaderTargetPlugin'>; +} +declare module 'webpack/lib/MainTemplate.js' { + declare module.exports: $Exports<'webpack/lib/MainTemplate'>; +} +declare module 'webpack/lib/MemoryOutputFileSystem.js' { + declare module.exports: $Exports<'webpack/lib/MemoryOutputFileSystem'>; +} +declare module 'webpack/lib/Module.js' { + declare module.exports: $Exports<'webpack/lib/Module'>; +} +declare module 'webpack/lib/ModuleFilenameHelpers.js' { + declare module.exports: $Exports<'webpack/lib/ModuleFilenameHelpers'>; +} +declare module 'webpack/lib/ModuleNotFoundError.js' { + declare module.exports: $Exports<'webpack/lib/ModuleNotFoundError'>; +} +declare module 'webpack/lib/ModuleParseError.js' { + declare module.exports: $Exports<'webpack/lib/ModuleParseError'>; +} +declare module 'webpack/lib/ModuleParserHelpers.js' { + declare module.exports: $Exports<'webpack/lib/ModuleParserHelpers'>; +} +declare module 'webpack/lib/ModuleReason.js' { + declare module.exports: $Exports<'webpack/lib/ModuleReason'>; +} +declare module 'webpack/lib/ModuleTemplate.js' { + declare module.exports: $Exports<'webpack/lib/ModuleTemplate'>; +} +declare module 'webpack/lib/MovedToPluginWarningPlugin.js' { + declare module.exports: $Exports<'webpack/lib/MovedToPluginWarningPlugin'>; +} +declare module 'webpack/lib/MultiCompiler.js' { + declare module.exports: $Exports<'webpack/lib/MultiCompiler'>; +} +declare module 'webpack/lib/MultiEntryPlugin.js' { + declare module.exports: $Exports<'webpack/lib/MultiEntryPlugin'>; +} +declare module 'webpack/lib/MultiModule.js' { + declare module.exports: $Exports<'webpack/lib/MultiModule'>; +} +declare module 'webpack/lib/MultiModuleFactory.js' { + declare module.exports: $Exports<'webpack/lib/MultiModuleFactory'>; +} +declare module 'webpack/lib/NamedModulesPlugin.js' { + declare module.exports: $Exports<'webpack/lib/NamedModulesPlugin'>; +} +declare module 'webpack/lib/NewWatchingPlugin.js' { + declare module.exports: $Exports<'webpack/lib/NewWatchingPlugin'>; +} +declare module 'webpack/lib/node/NodeChunkTemplatePlugin.js' { + declare module.exports: $Exports<'webpack/lib/node/NodeChunkTemplatePlugin'>; +} +declare module 'webpack/lib/node/NodeEnvironmentPlugin.js' { + declare module.exports: $Exports<'webpack/lib/node/NodeEnvironmentPlugin'>; +} +declare module 'webpack/lib/node/NodeHotUpdateChunkTemplatePlugin.js' { + declare module.exports: $Exports<'webpack/lib/node/NodeHotUpdateChunkTemplatePlugin'>; +} +declare module 'webpack/lib/node/NodeMainTemplate.runtime.js' { + declare module.exports: $Exports<'webpack/lib/node/NodeMainTemplate.runtime'>; +} +declare module 'webpack/lib/node/NodeMainTemplateAsync.runtime.js' { + declare module.exports: $Exports<'webpack/lib/node/NodeMainTemplateAsync.runtime'>; +} +declare module 'webpack/lib/node/NodeMainTemplatePlugin.js' { + declare module.exports: $Exports<'webpack/lib/node/NodeMainTemplatePlugin'>; +} +declare module 'webpack/lib/node/NodeOutputFileSystem.js' { + declare module.exports: $Exports<'webpack/lib/node/NodeOutputFileSystem'>; +} +declare module 'webpack/lib/node/NodeSourcePlugin.js' { + declare module.exports: $Exports<'webpack/lib/node/NodeSourcePlugin'>; +} +declare module 'webpack/lib/node/NodeTargetPlugin.js' { + declare module.exports: $Exports<'webpack/lib/node/NodeTargetPlugin'>; +} +declare module 'webpack/lib/node/NodeTemplatePlugin.js' { + declare module.exports: $Exports<'webpack/lib/node/NodeTemplatePlugin'>; +} +declare module 'webpack/lib/node/NodeWatchFileSystem.js' { + declare module.exports: $Exports<'webpack/lib/node/NodeWatchFileSystem'>; +} +declare module 'webpack/lib/node/OldNodeWatchFileSystem.js' { + declare module.exports: $Exports<'webpack/lib/node/OldNodeWatchFileSystem'>; +} +declare module 'webpack/lib/NodeStuffPlugin.js' { + declare module.exports: $Exports<'webpack/lib/NodeStuffPlugin'>; +} +declare module 'webpack/lib/NoErrorsPlugin.js' { + declare module.exports: $Exports<'webpack/lib/NoErrorsPlugin'>; +} +declare module 'webpack/lib/NormalModule.js' { + declare module.exports: $Exports<'webpack/lib/NormalModule'>; +} +declare module 'webpack/lib/NormalModuleFactory.js' { + declare module.exports: $Exports<'webpack/lib/NormalModuleFactory'>; +} +declare module 'webpack/lib/NormalModuleReplacementPlugin.js' { + declare module.exports: $Exports<'webpack/lib/NormalModuleReplacementPlugin'>; +} +declare module 'webpack/lib/NullFactory.js' { + declare module.exports: $Exports<'webpack/lib/NullFactory'>; +} +declare module 'webpack/lib/OldWatchingPlugin.js' { + declare module.exports: $Exports<'webpack/lib/OldWatchingPlugin'>; +} +declare module 'webpack/lib/optimize/AggressiveMergingPlugin.js' { + declare module.exports: $Exports<'webpack/lib/optimize/AggressiveMergingPlugin'>; +} +declare module 'webpack/lib/optimize/CommonsChunkPlugin.js' { + declare module.exports: $Exports<'webpack/lib/optimize/CommonsChunkPlugin'>; +} +declare module 'webpack/lib/optimize/DedupePlugin.js' { + declare module.exports: $Exports<'webpack/lib/optimize/DedupePlugin'>; +} +declare module 'webpack/lib/optimize/FlagIncludedChunksPlugin.js' { + declare module.exports: $Exports<'webpack/lib/optimize/FlagIncludedChunksPlugin'>; +} +declare module 'webpack/lib/optimize/LimitChunkCountPlugin.js' { + declare module.exports: $Exports<'webpack/lib/optimize/LimitChunkCountPlugin'>; +} +declare module 'webpack/lib/optimize/MergeDuplicateChunksPlugin.js' { + declare module.exports: $Exports<'webpack/lib/optimize/MergeDuplicateChunksPlugin'>; +} +declare module 'webpack/lib/optimize/MinChunkSizePlugin.js' { + declare module.exports: $Exports<'webpack/lib/optimize/MinChunkSizePlugin'>; +} +declare module 'webpack/lib/optimize/OccurenceOrderPlugin.js' { + declare module.exports: $Exports<'webpack/lib/optimize/OccurenceOrderPlugin'>; +} +declare module 'webpack/lib/optimize/OccurrenceOrderPlugin.js' { + declare module.exports: $Exports<'webpack/lib/optimize/OccurrenceOrderPlugin'>; +} +declare module 'webpack/lib/optimize/RemoveEmptyChunksPlugin.js' { + declare module.exports: $Exports<'webpack/lib/optimize/RemoveEmptyChunksPlugin'>; +} +declare module 'webpack/lib/optimize/RemoveParentModulesPlugin.js' { + declare module.exports: $Exports<'webpack/lib/optimize/RemoveParentModulesPlugin'>; +} +declare module 'webpack/lib/optimize/UglifyJsPlugin.js' { + declare module.exports: $Exports<'webpack/lib/optimize/UglifyJsPlugin'>; +} +declare module 'webpack/lib/OptionsApply.js' { + declare module.exports: $Exports<'webpack/lib/OptionsApply'>; +} +declare module 'webpack/lib/OriginalSource.js' { + declare module.exports: $Exports<'webpack/lib/OriginalSource'>; +} +declare module 'webpack/lib/Parser.js' { + declare module.exports: $Exports<'webpack/lib/Parser'>; +} +declare module 'webpack/lib/PrefetchPlugin.js' { + declare module.exports: $Exports<'webpack/lib/PrefetchPlugin'>; +} +declare module 'webpack/lib/ProgressPlugin.js' { + declare module.exports: $Exports<'webpack/lib/ProgressPlugin'>; +} +declare module 'webpack/lib/ProvidePlugin.js' { + declare module.exports: $Exports<'webpack/lib/ProvidePlugin'>; +} +declare module 'webpack/lib/RawModule.js' { + declare module.exports: $Exports<'webpack/lib/RawModule'>; +} +declare module 'webpack/lib/RawSource.js' { + declare module.exports: $Exports<'webpack/lib/RawSource'>; +} +declare module 'webpack/lib/RecordIdsPlugin.js' { + declare module.exports: $Exports<'webpack/lib/RecordIdsPlugin'>; +} +declare module 'webpack/lib/removeAndDo.js' { + declare module.exports: $Exports<'webpack/lib/removeAndDo'>; +} +declare module 'webpack/lib/RequestShortener.js' { + declare module.exports: $Exports<'webpack/lib/RequestShortener'>; +} +declare module 'webpack/lib/RequireJsStuffPlugin.js' { + declare module.exports: $Exports<'webpack/lib/RequireJsStuffPlugin'>; +} +declare module 'webpack/lib/ResolverPlugin.js' { + declare module.exports: $Exports<'webpack/lib/ResolverPlugin'>; +} +declare module 'webpack/lib/SetVarMainTemplatePlugin.js' { + declare module.exports: $Exports<'webpack/lib/SetVarMainTemplatePlugin'>; +} +declare module 'webpack/lib/SingleEntryPlugin.js' { + declare module.exports: $Exports<'webpack/lib/SingleEntryPlugin'>; +} +declare module 'webpack/lib/Source.js' { + declare module.exports: $Exports<'webpack/lib/Source'>; +} +declare module 'webpack/lib/SourceMapDevToolModuleOptionsPlugin.js' { + declare module.exports: $Exports<'webpack/lib/SourceMapDevToolModuleOptionsPlugin'>; +} +declare module 'webpack/lib/SourceMapDevToolPlugin.js' { + declare module.exports: $Exports<'webpack/lib/SourceMapDevToolPlugin'>; +} +declare module 'webpack/lib/SourceMapSource.js' { + declare module.exports: $Exports<'webpack/lib/SourceMapSource'>; +} +declare module 'webpack/lib/Stats.js' { + declare module.exports: $Exports<'webpack/lib/Stats'>; +} +declare module 'webpack/lib/Template.js' { + declare module.exports: $Exports<'webpack/lib/Template'>; +} +declare module 'webpack/lib/TemplatedPathPlugin.js' { + declare module.exports: $Exports<'webpack/lib/TemplatedPathPlugin'>; +} +declare module 'webpack/lib/UmdMainTemplatePlugin.js' { + declare module.exports: $Exports<'webpack/lib/UmdMainTemplatePlugin'>; +} +declare module 'webpack/lib/UnsupportedFeatureWarning.js' { + declare module.exports: $Exports<'webpack/lib/UnsupportedFeatureWarning'>; +} +declare module 'webpack/lib/WarnCaseSensitiveModulesPlugin.js' { + declare module.exports: $Exports<'webpack/lib/WarnCaseSensitiveModulesPlugin'>; +} +declare module 'webpack/lib/WatchIgnorePlugin.js' { + declare module.exports: $Exports<'webpack/lib/WatchIgnorePlugin'>; +} +declare module 'webpack/lib/web/WebEnvironmentPlugin.js' { + declare module.exports: $Exports<'webpack/lib/web/WebEnvironmentPlugin'>; +} +declare module 'webpack/lib/webpack.js' { + declare module.exports: $Exports<'webpack/lib/webpack'>; +} +declare module 'webpack/lib/webpack.web.js' { + declare module.exports: $Exports<'webpack/lib/webpack.web'>; +} +declare module 'webpack/lib/WebpackOptionsApply.js' { + declare module.exports: $Exports<'webpack/lib/WebpackOptionsApply'>; +} +declare module 'webpack/lib/WebpackOptionsDefaulter.js' { + declare module.exports: $Exports<'webpack/lib/WebpackOptionsDefaulter'>; +} +declare module 'webpack/lib/webworker/WebWorkerChunkTemplatePlugin.js' { + declare module.exports: $Exports<'webpack/lib/webworker/WebWorkerChunkTemplatePlugin'>; +} +declare module 'webpack/lib/webworker/WebWorkerMainTemplatePlugin.js' { + declare module.exports: $Exports<'webpack/lib/webworker/WebWorkerMainTemplatePlugin'>; +} +declare module 'webpack/lib/webworker/WebWorkerTemplatePlugin.js' { + declare module.exports: $Exports<'webpack/lib/webworker/WebWorkerTemplatePlugin'>; +} +declare module 'webpack/web_modules/node-libs-browser.js' { + declare module.exports: $Exports<'webpack/web_modules/node-libs-browser'>; +} diff --git a/package.json b/package.json index 4e7a304..238f853 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "redux-fly", - "version": "0.1.1", + "version": "0.1.2", "description": "Rapid React + Redux development", "browser": "dist/redux-fly.js", "main": "lib/index.js", @@ -28,11 +28,12 @@ "url": "https://github.com/MrEfrem/redux-fly/issues" }, "scripts": { - "build": "npm run clean && npm run build:commonjs && npm run build:es && npm run build:umd && npm run build:umd:min", + "build": "npm run clean && npm run build:commonjs && npm run build:es && npm run build:umd && npm run build:umd:min && npm run build:flow", "build:commonjs": "cross-env BABEL_ENV=commonjs babel src --out-dir lib", "build:es": "cross-env BABEL_ENV=es babel src --out-dir es", "build:umd": "cross-env BABEL_ENV=commonjs NODE_ENV=development webpack src/index.js dist/redux-fly.js", "build:umd:min": "cross-env BABEL_ENV=commonjs NODE_ENV=production webpack src/index.js dist/redux-fly.min.js", + "build:flow": "flow-copy-source -v src lib && flow-copy-source -v src es", "clean": "rimraf lib es", "lint": "eslint src __tests__", "lint:fix": "eslint src --fix", @@ -52,9 +53,11 @@ "cross-env": "^3.0.0", "enzyme": "^2.5.1", "eslint": "^3.5.0", + "eslint-plugin-flowtype": "^2.28.2", "eslint-plugin-import": "^2.2.0", "eslint-plugin-react": "^6.3.0", "flow-bin": "^0.36.0", + "flow-copy-source": "^1.1.0", "jest-cli": "^17.0.0", "react": "^15.4.0", "react-addons-test-utils": "^15.4.0", diff --git a/src/createReducer.js b/src/createReducer.js index 9154a5c..ffc302b 100644 --- a/src/createReducer.js +++ b/src/createReducer.js @@ -11,6 +11,7 @@ import createBoundedReducer from './createBoundedReducer' import reduxSetState from './reduxSetState' import { RESET_STATE, MOUNT_PATH, NEW_STATE } from './consts' import getState from './getState' +import type { store as typeStore } from './types' /** * Check initialState @@ -91,7 +92,7 @@ export default ({ checkActionPrefix(actionPrefix) } - return (WrappedComponent: any) => + return (WrappedComponent: ReactClass<*>) => class CreateReducer extends React.Component { static contextTypes = { store: process.env.NODE_ENV === 'test' ? PropTypes.object : storeShape, @@ -127,7 +128,7 @@ export default ({ constructor(props: any, context: any) { super(props, context) - let { store } = context + let { store }: { store: typeStore } = context this.reduxMountPaths = context.reduxMountPaths || [] this.lastReduxMountPath = context.lastReduxMountPath || '' this.store = null @@ -204,7 +205,7 @@ export default ({ typeof window === 'object' && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__({}) : compose - store = createStore(null, composeEnhancers(enhanceStore)) + store = (createStore(() => {}, composeEnhancers(enhanceStore)): typeStore) this.store = store } diff --git a/src/enhanceStore.js b/src/enhanceStore.js index da7b0a0..3ada640 100644 --- a/src/enhanceStore.js +++ b/src/enhanceStore.js @@ -24,7 +24,7 @@ const enhanceStore = (createStore: Function) => { if (typeof createStore !== 'function') { throw new Error('CreateStore must be function') } - return (reducer?: Object, preloadedState?: Object, enhancer?: Function) => { + return (reducer: Object, preloadedState: ?Object, enhancer: ?Function) => { let store let combinedReducers = {} let rawReducers = {} @@ -35,11 +35,11 @@ const enhanceStore = (createStore: Function) => { } // Create store with middleware for process batch actions - if (reducer) { + if (reducer && typeof reducer !== 'function') { registerReducers(reducer) store = createStore(combinedReducers, preloadedState, enhancer) } else { - store = createStore(() => ({}), undefined, enhancer) + store = createStore(() => {}, undefined, enhancer) } // Recreate reducers tree and replace them in store diff --git a/src/registerReducers.js b/src/registerReducers.js index 0e23017..fc553b5 100644 --- a/src/registerReducers.js +++ b/src/registerReducers.js @@ -6,6 +6,7 @@ import { createStore, compose } from 'redux' import { checkMountPath } from './utils/checks' import { normalizeMountPath } from './utils/normalize' import { Provider } from 'react-redux' +import type { store as typeStore } from './types' /** * Function registers reducers in Redux store. @@ -20,7 +21,7 @@ export default ( if (typeof reducers !== 'function' && typeof reducers !== 'object') { throw new Error('Reducers must be non empty plain object or function') } - return (WrappedComponent: any) => + return (WrappedComponent: ReactClass<*>) => class CreateReducer extends React.Component { static contextTypes = { store: process.env.NODE_ENV === 'test' ? PropTypes.object : storeShape, @@ -44,7 +45,7 @@ export default ( constructor(props: any, context: any) { super(props, context) - let { store } = context + let { store }: { store: typeStore } = context this.reduxMountPaths = context.reduxMountPaths || [] this.lastReduxMountPath = context.lastReduxMountPath || '' this.store = null @@ -90,7 +91,7 @@ export default ( typeof window === 'object' && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__({}) : compose - store = createStore(null, composeEnhancers(enhanceStore)) + store = (createStore(() => {}, composeEnhancers(enhanceStore)): typeStore) this.store = store } diff --git a/src/types.js b/src/types.js new file mode 100644 index 0000000..10f4653 --- /dev/null +++ b/src/types.js @@ -0,0 +1,7 @@ +export type store = { + subscribe: Function, + dispatch: Function, + getState: Function, + replaceReducer: Function, + registerReducers: Function +}