We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents eadb3eb + 61f855b commit bea7b94Copy full SHA for bea7b94
src/index.d.ts
@@ -1,4 +1,4 @@
1
-// Type definitions for express-decorator-router 0.2.0
+// Type definitions for express-decorator-router 0.2.1
2
// Project: https://github.com/LucasMendesl/express-decorator-router/blob/master/README.md
3
// Definitions by: Lucas Mendes Loureiro <https://github.com/LucasMendesl>
4
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
@@ -13,7 +13,7 @@ declare namespace controllers {
13
14
export const awilix: any
15
16
- export type ResolverDepsFn = (...args?: any[]) => any
+ export type ResolverDepsFn = (...args?: any[]) => any | string
17
export type RouteFn = (target: object, property: string) => void
18
export type ControllerFn = (target: object, handler: object) => any
19
0 commit comments