We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
latest
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.
node ace make:validator posts
post.ts
As a result the current example code generates a type error:
"Cannot find module '#validators/posts' or its corresponding type declarations."
No response
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
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 singularpost.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
The text was updated successfully, but these errors were encountered: