We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9ae0ab8 commit e7d1666Copy full SHA for e7d1666
src/index.ts
@@ -88,8 +88,10 @@ function methodRoute(path: string): Dispatcher {
88
]);
89
90
};
91
+
92
const dispatcher: Dispatcher = Object.assign(
93
dispatcherMw,
94
+ /* eslint-disable @typescript-eslint/consistent-type-assertions */
95
{} as Record<Methods, DispatcherFunc>
96
);
97
for (const method of http.METHODS) {
0 commit comments