veliovgroup / flow-router

🚦 Carefully extended flow-router for Meteor
https://packosphere.com/ostrio/flow-router-extra
BSD 3-Clause "New" or "Revised" License
202 stars 29 forks source link

Router.group prefix in type definition #105

Closed taylorshephard closed 8 months ago

taylorshephard commented 1 year ago

I'm having an issue:

According to docs here, the prefix option is optional for Router.group but required in the type definition

I have a suggestion:

make a change here

group: (options: { name: string; prefix?: string; [key: string]: any }) => any;
dr-dimitru commented 8 months ago

Hello @taylorshephard 👋 Thank you for the suggestion, going to add it in the upcoming release

dr-dimitru commented 8 months ago

Solved in the latest release. Feel free to reopen it in case if the issue is still persists on your end.