overnight
overnight copied to clipboard
IRouter error when build
Hi,
Can i ask. im getting this error
export declare type RouterLib = (options?: RouterOptions) => IRouter;
when build the node.
when i view the source line
node_modules/@overnightjs/core/lib/decorators/types.d.ts:7:62
i said "Generic type IRouter<T> requires 1 type argument"
Thanks
i dont know if i fix this right .
i just ad RouterOption in Irouter generic
here the original error