Open utterances-bot opened 3 years ago
Often, there comes a scenario when you want to type annotate (or type hint) some of the variables or arguments for a subset of a given type.
https://www.amitmerchant.com/type-annotate-arguments-for-subset-of-type-in-typescript/
Type annotate arguments for subset of a given type in TypeScript – Amit Merchant – A blog on PHP, JavaScript and more
Often, there comes a scenario when you want to type annotate (or type hint) some of the variables or arguments for a subset of a given type.
https://www.amitmerchant.com/type-annotate-arguments-for-subset-of-type-in-typescript/