nanostores / router

A tiny (673 bytes) router for Nano Stores state manager
MIT License
246 stars 19 forks source link

Problem: getPagePath complains about the third parameter #18

Closed rapitkan closed 1 year ago

rapitkan commented 1 year ago
Screenshot 2023-03-16 at 14 52 29

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

typescript

ai commented 1 year ago

Can you show your routes?

rapitkan commented 1 year ago

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.