19 | Go to the Normandy page. 20 |
21 | ) : ( 22 |23 | You are not logged in! Go to the login page. 24 |
25 | )} 26 |( 112 | Component: React$ComponentType<{| ...ContextRouter, ...P |}>, 113 | ): React$ComponentType
;
114 |
115 | declare type MatchPathOptions = {
116 | path?: string,
117 | exact?: boolean,
118 | strict?: boolean,
119 | sensitive?: boolean,
120 | };
121 | declare export function matchPath(
122 | pathname: string,
123 | options?: MatchPathOptions | string,
124 | ): null | Match;
125 | }
126 |
--------------------------------------------------------------------------------
/flow-typed/npm/react-redux_v5.x.x.js:
--------------------------------------------------------------------------------
1 | // flow-typed signature: 59b0c4be0e1408f21e2446be96c79804
2 | // flow-typed version: 9092387fd2/react-redux_v5.x.x/flow_>=v0.54.x
3 |
4 | import type { Dispatch, Store } from 'redux';
5 |
6 | declare module 'react-redux' {
7 | /*
8 |
9 | S = State
10 | A = Action
11 | OP = OwnProps
12 | SP = StateProps
13 | DP = DispatchProps
14 |
15 | */
16 |
17 | declare type MapStateToProps ;
53 | props: OP;
54 | state: void;
55 | }
56 |
57 | declare type ConnectedComponentWithDefaultPropsClass ) => ConnectedComponentClass (
144 | Component: React$ComponentType<{| ...ContextRouter, ...P |}>,
145 | ): React$ComponentType ;
146 |
147 | declare type MatchPathOptions = {
148 | path?: string,
149 | exact?: boolean,
150 | sensitive?: boolean,
151 | strict?: boolean,
152 | };
153 |
154 | declare export function matchPath(
155 | pathname: string,
156 | options?: MatchPathOptions | string,
157 | ): null | Match;
158 | }
159 |
--------------------------------------------------------------------------------
/flow-typed/npm/prettier_v1.x.x.js:
--------------------------------------------------------------------------------
1 | // flow-typed signature: 4eed8da2dc730dc33e7710b465eaa44b
2 | // flow-typed version: cc7a557b34/prettier_v1.x.x/flow_>=v0.56.x
3 |
4 | declare module 'prettier' {
5 | declare type AST = Object;
6 | declare type Doc = Object;
7 | declare type FastPath = Object;
8 |
9 | declare type PrettierParserName =
10 | | 'babylon'
11 | | 'flow'
12 | | 'typescript'
13 | | 'postcss'
14 | | 'css'
15 | | 'less'
16 | | 'scss'
17 | | 'json'
18 | | 'graphql'
19 | | 'markdown'
20 | | 'vue';
21 |
22 | declare type PrettierParser = {
23 | [name: PrettierParserName]: (text: string, options?: Object) => AST,
24 | };
25 |
26 | declare type CustomParser = (
27 | text: string,
28 | parsers: PrettierParser,
29 | options: Options,
30 | ) => AST;
31 |
32 | declare type Options = {|
33 | printWidth?: number,
34 | tabWidth?: number,
35 | useTabs?: boolean,
36 | semi?: boolean,
37 | singleQuote?: boolean,
38 | trailingComma?: 'none' | 'es5' | 'all',
39 | bracketSpacing?: boolean,
40 | jsxBracketSameLine?: boolean,
41 | arrowParens?: 'avoid' | 'always',
42 | rangeStart?: number,
43 | rangeEnd?: number,
44 | parser?: PrettierParserName | CustomParser,
45 | filepath?: string,
46 | requirePragma?: boolean,
47 | insertPragma?: boolean,
48 | proseWrap?: 'always' | 'never' | 'preserve',
49 | plugins?: Array = (
18 | state: S,
19 | ownProps: OP,
20 | ) => ((state: S, ownProps: OP) => SP) | SP;
21 |
22 | declare type MapDispatchToProps =
23 | | ((dispatch: Dispatch, ownProps: OP) => DP)
24 | | DP;
25 |
26 | declare type MergeProps extends React$Component<{
71 | store: Store,
72 | children?: any,
73 | }> {}
74 |
75 | declare function createProvider(
76 | storeKey?: string,
77 | subKey?: string,
78 | ): Provider<*, *>;
79 |
80 | declare type ConnectOptions = {
81 | pure?: boolean,
82 | withRef?: boolean,
83 | };
84 |
85 | declare type Null = null | void;
86 |
87 | declare function connect(
88 | ...rest: Array(
99 | mapStateToProps: MapStateToProps,
100 | mapDispatchToProps: Null,
101 | mergeProps: Null,
102 | options?: ConnectOptions,
103 | ): Connector(
113 | mapStateToProps: MapStateToProps,
114 | mapDispatchToProps: MapDispatchToProps,
115 | mergeProps: Null,
116 | options?: ConnectOptions,
117 | ): Connector(
120 | mapStateToProps: MapStateToProps,
121 | mapDispatchToProps: Null,
122 | mergeProps: MergeProps(
127 | mapStateToProps: MapStateToProps,
128 | mapDispatchToProps: MapDispatchToProps,
129 | mergeProps: MergeProps