ts-standard icon indicating copy to clipboard operation
ts-standard copied to clipboard

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

Open pascencio opened this issue 4 months ago • 0 comments

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

pascencio avatar Oct 01 '24 03:10 pascencio