Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IRouter error when build #67

Open
DarkKangaroot opened this issue Aug 12, 2020 · 1 comment
Open

IRouter error when build #67

DarkKangaroot opened this issue Aug 12, 2020 · 1 comment

Comments

@DarkKangaroot
Copy link

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 requires 1 type argument"

Thanks

@DarkKangaroot
Copy link
Author

i dont know if i fix this right .
image

i just ad RouterOption in Irouter generic
here the original error
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant