🐛 Bug: strictNonNullAssertions changes "return undefined" to "return undefined!" #1516
Open
3 tasks done
Labels
status: accepting prs
Please, send a pull request to resolve this! 🙏
type: bug
Something isn't working :( 🐛
Bug Report Checklist
main
branch of the repository.Expected
It should allow returning undefined here
Actual
The undefined return is changed to this
Additional Info
This is probably related to #1494 - it does not understand that the function accepts return type
Promise<undefined>
.typestat.json
tsconfig
The text was updated successfully, but these errors were encountered: