TS 2345 error "Type 'void' is not assignable to type '{}'"
May 2, 2023
So earlier today I had defined a little validation function type in TypeScript:
Writing What I Want
So earlier today I had defined a little validation function type in TypeScript:
Last year, my son wanted an elephant cake for his birthday. This year? A penguin cake.
Happy Easter y’all. I’ve been a bit busy with work and home, so I’m just going to quickly list the books for last month.
So I asked ChatGPT to make me a word-guessing game in JavaScript.