Skip to content

Commit bea7b94

Browse files
authored
Merge pull request #11 from LucasMendesl/fix/typescript
fix: ajusting typescript definitions
2 parents eadb3eb + 61f855b commit bea7b94

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Type definitions for express-decorator-router 0.2.0
1+
// Type definitions for express-decorator-router 0.2.1
22
// Project: https://github.com/LucasMendesl/express-decorator-router/blob/master/README.md
33
// Definitions by: Lucas Mendes Loureiro <https://github.com/LucasMendesl>
44
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
@@ -13,7 +13,7 @@ declare namespace controllers {
1313

1414
export const awilix: any
1515

16-
export type ResolverDepsFn = (...args?: any[]) => any
16+
export type ResolverDepsFn = (...args?: any[]) => any | string
1717
export type RouteFn = (target: object, property: string) => void
1818
export type ControllerFn = (target: object, handler: object) => any
1919

0 commit comments

Comments
 (0)