When a !
needs to be added inside an object literal, it should convert shorthand to full
#50
Labels
status: accepting prs
Please, send a pull request to resolve this! 🙏
type: bug
Something isn't working :( 🐛
If
{ stat }
needs to markstat
with a!
, it would need to change it to{ stat: stat! }
.Related: microsoft/TypeScript#13035 tracks allowing casting within object literals.
The text was updated successfully, but these errors were encountered: