UNPKG

539 BTypeScriptView Raw
1import type { AuthenticationClient } from '@feathersjs/authentication-client';
2import type { Application } from '@feathersjs/feathers';
3import type { AuthenticationManagementClient, ClientOptions } from './types';
4declare module '@feathersjs/feathers' {
5 interface Application {
6 authenticate: AuthenticationClient['authenticate'];
7 logout: AuthenticationClient['logout'];
8 }
9}
10declare function makeClient(app: Application, _options?: Partial<ClientOptions>): AuthenticationManagementClient;
11export default makeClient;