nanostores/router

Problem: getPagePath complains about the third parameter

rapitkan opened this issue · 2 comments

Screenshot 2023-03-16 at 14 52 29

Problem: getPagePath function complains when user tries to give the third parameter.

#typescript

ai commented

Can you show your routes?

Hi. I was able to resolve the issue by myself. Route configuration was defined without as const. I added that and the error vanished. Your question about seeing the routes was helpful. Thanks.