#JavaScript devs, I wonder if the use of `void` has increased (due to #LLMs?)—or does it have any real use case? Is this maybe a #TypeScript-only thing?
function myFunction(): void {
void foo()
void bar()
void baz()
}
#amCoding #amProgramming #amWritingCode #amHandwritingCode #AI #artificialIntelligence #genAI #generativeAI #vibeCoding #softwareDevelopment #softwareEngineering #webDevelopment #frontendDeelopment #dataTypes #typeTheory
#typetheory
#datatypes
#frontenddeelopment
#amhandwritingcode
#amwritingcode
#amprogramming
#amcoding
#vibecoding
#generativeai
#softwaredevelopment
#webdevelopment
#typescript
#softwareengineering
#llms
#genai
#javascript
#artificialintelligence
#ai
@shaedrich I use it sometimes when I run I to this eslint rule and I really don't care if the promise is rejected https://typescript-eslint.io/rules/no-floating-promises/
no-floating-promises | typescript-eslint