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

ts-standard does not detect the use of any in TypeScript code #296

Open
pascencio opened this issue Oct 1, 2024 · 0 comments
Open

ts-standard does not detect the use of any in TypeScript code #296

pascencio opened this issue Oct 1, 2024 · 0 comments

Comments

@pascencio
Copy link

Here's what I did

I have the following code:

@Post('hi')
  async sayHello (@Body() someDto: SomeDto): Promise<any> {
    return await this.greetingService.sayHello(someDto)
  }

When I run:

npx ts-standard

I don't get errors.

What I expected to happen

I expected to see a no-explicit-any error when I run npx ts-standard

What seems to have happened

No clues

deps.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant