@feathersjs/multiple

correctly type behavior of combined commonJS and ES module default exports `module.exports.default = module.exports`
This commit is contained in:
Jan Lohage
2018-03-20 13:05:44 +01:00
parent eedbe4b774
commit 39f4c4ccee
8 changed files with 24 additions and 8 deletions

View File

@@ -4,8 +4,10 @@
// Definitions: https://github.com/feathersjs-ecosystem/feathers-typescript
import { Hook } from '@feathersjs/feathers';
import * as self from '@feathersjs/authentication';
export default function feathersAuthentication(config?: FeathersAuthenticationOptions): () => void;
declare const feathersAuthentication: ((config?: FeathersAuthenticationOptions) => () => void) & typeof self;
export default feathersAuthentication;
export const hooks: AuthHooks.Hooks;