Skip to content

Commit bc1ef28

Browse files
committed
fix middleware
1 parent 5bd3844 commit bc1ef28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SocketControllersOptions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export interface SocketControllersOptions {
1313
/**
1414
* List of directories from where to "require" all your middlewares.
1515
*/
16-
middlewares?: string[];
16+
middlewares?: Function[] | string[];
1717

1818
/**
1919
* Indicates if class-transformer package should be used to perform message body serialization / deserialization.

0 commit comments

Comments
 (0)