mirror of
https://github.com/elyby/accounts-frontend.git
synced 2024-12-12 00:09:10 +05:30
14 lines
386 B
JavaScript
14 lines
386 B
JavaScript
// @flow
|
|
export { default } from './request';
|
|
export type { Resp } from './request';
|
|
export { default as InternalServerError } from './InternalServerError';
|
|
|
|
/**
|
|
* Usage: Query<'requeired'|'keys'|'names'>
|
|
* TODO: find a way to make it more friendly with URLSearchParams type
|
|
*/
|
|
export type Query<T: string> = {
|
|
get: (key: T) => ?string,
|
|
set: (key: T, value: any) => void,
|
|
};
|