You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can ignore if you can not get this issue clearly.
I understand this honox project is alpha version.
What is the feature you are proposing?
I need type suggestion for path parameter(c.req.param()) in createRoute.
What version of HonoX are you using?
0.1.0
What steps can reproduce the bug?
create a new project via pnpm create@hono and x-basic
add a directory structure with 2 dynamic path parameters (app/routes/companies/[companyId]/[postId]/index.ts)
What is the expected behavior?
When I type c.req.param(' then the VSCode(TS Server) suggest 'companyId' and 'postId'
What do you see instead?
When I type c.req.param(' then the VSCode(TS Server) suggest nothing
Note
You can ignore if you can not get this issue clearly.
I understand this honox project is alpha version.
What is the feature you are proposing?
I need type suggestion for path parameter(
c.req.param()
) in createRoute.What version of HonoX are you using?
0.1.0
What steps can reproduce the bug?
create a new project via pnpm create@hono and x-basic
add a directory structure with 2 dynamic path parameters (app/routes/companies/[companyId]/[postId]/index.ts)
What is the expected behavior?
When I type
c.req.param('
then the VSCode(TS Server) suggest 'companyId' and 'postId'What do you see instead?
When I type
c.req.param('
then the VSCode(TS Server) suggest nothingAdditional information
example code
app/routes/companies/[companyId]/[postId]/index.ts
The text was updated successfully, but these errors were encountered: