DEV Community

Discussion on: My Tooling Wishes for 2020 ✨

Collapse
 
arcanis profile image
Maël Nison

I like that! Basically it's exactly the opposite - instead of saying that the decorator provides the type, you instead let it check that the property name is the same as one of the properties in the class that's compatible with the expected type. Smart!