What would you expect a type system to do with this: const person: {name: string} = {};
-
-
Had to go check in TypeScript after I said so, was glad to see they lined up... an easy change to {name!: string} for the typedef made {} valid. :)
- 4 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
he/him 