mirror of
https://github.com/elyby/accounts-frontend.git
synced 2024-11-10 01:52:04 +05:30
14 lines
480 B
TypeScript
14 lines
480 B
TypeScript
export { default, Resp } from './request';
|
|
export { Middleware } from './PromiseMiddlewareLayer';
|
|
export { default as InternalServerError } from './InternalServerError';
|
|
export { default as RequestAbortedError } from './RequestAbortedError';
|
|
|
|
/**
|
|
* Usage: Query<'requeired'|'keys'|'names'>
|
|
* TODO: find a way to make it more friendly with URLSearchParams type
|
|
*/
|
|
export type Query<T extends string> = {
|
|
get: (key: T) => string | void;
|
|
set: (key: T, value: any) => void;
|
|
};
|