mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-03-24 23:34:30 +00:00
@feathersjs/multiple
correctly type behavior of combined commonJS and ES module default exports `module.exports.default = module.exports`
This commit is contained in:
4
types/feathersjs__authentication/index.d.ts
vendored
4
types/feathersjs__authentication/index.d.ts
vendored
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user