Skip to content

Commit

Permalink
fix(nestjs-proto-types): typecheck
Browse files Browse the repository at this point in the history
  • Loading branch information
Amiditin committed Feb 11, 2025
1 parent f3c6980 commit 88772ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/nestjs-proto-types/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@
* @typedef {string} ProtoFile - Represents the imported `.proto` file as a string
*/
// eslint-disable-next-line @typescript-eslint/prefer-ts-expect-error
// @ts-expect-error correct module name
// @ts-ignore correct module name
declare module '*.proto'

Check failure on line 15 in packages/nestjs-proto-types/src/index.ts

View workflow job for this annotation

GitHub Actions / Lint

(@typescript-eslint/ban-ts-comment): Use "@ts-expect-error" instead of "@ts-ignore", as "@ts-ignore" will do nothing if the following line is error-free.

Use "@ts-expect-error" instead of "@ts-ignore", as "@ts-ignore" will do nothing if the following line is error-free.
Raw output
  12 |  */
  13 | // eslint-disable-next-line @typescript-eslint/prefer-ts-expect-error
> 14 | // @ts-ignore correct module name
     | ^
  15 | declare module '*.proto'
  16 |

0 comments on commit 88772ae

Please sign in to comment.