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

Small typo on the home page #22

Open
gregmsanderson opened this issue Aug 22, 2024 · 0 comments · May be fixed by #23
Open

Small typo on the home page #22

gregmsanderson opened this issue Aug 22, 2024 · 0 comments · May be fixed by #23

Comments

@gregmsanderson
Copy link

Package version

latest

Describe the bug

The sample code at the top of https://adonisjs.com/ has a final tab which includes:

import { createPostValidator } from '#validators/posts'

However the node ace make:validator posts command (from the prior tab) makes a singular post.ts file.

As a result the current example code generates a type error:

"Cannot find module '#validators/posts' or its corresponding type declarations."

Reproduction repo

No response

@gregmsanderson gregmsanderson linked a pull request Aug 22, 2024 that will close this issue
3 tasks
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

Successfully merging a pull request may close this issue.

1 participant