Visual Code (tsserver) emits some suggestions like 'await' has no effect on the type of this expression ts(80007)
But I don't find a way to get this error with tsc nor eslint to use it on CI environment
Visual Code (tsserver) emits some suggestions like 'await' has no effect on the type of this expression ts(80007)
But I don't find a way to get this error with tsc nor eslint to use it on CI environment
Copyright © 2021 Jogjafile Inc.

Finally I have found a
typescript-eslintrule https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/await-thenable.mdSo adding this to the .eslintrc is enough:
"@typescript-eslint/await-thenable": "error"