Commit e29a8041 authored by nanahira's avatar nanahira

allow undefined in ProtoMiddlewareDispatcher

parent 439fc1f5
......@@ -8,7 +8,7 @@ export type ProtoMiddlewareArgs<A extends any[] = [], T = any> = [
];
export type ProtoMiddlewareFunc<A extends any[] = [], T = any> = (
...args: ProtoMiddlewareArgs<A, T>
) => T;
) => T | undefined;
export class ProtoMiddlewareDispatcher<
A extends any[] = [],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment