-
Notifications
You must be signed in to change notification settings - Fork 13k
Open
Labels
Domain: DecoratorsThe issue relates to the decorator syntaxThe issue relates to the decorator syntaxRevisitAn issue worth coming back toAn issue worth coming back toSuggestionAn idea for TypeScriptAn idea for TypeScript
Description
At the moment it's not possible to get all Properties of a Type with the corresponding design-type of the property.
It's only possible to get all properties of an object by using Object.keys() and this wouldn't return properties which haven't been set, of course the simply don't exist.
So it wold be a great feature, if a class which emits metadata because of a decorator would also emit a metadata called something like 'design:properties' which contains a list of all property-names with the corresponding type.
npgrosser, thiagobustamante, tsamsiyu, dbones, Silvenga and 18 more
Metadata
Metadata
Assignees
Labels
Domain: DecoratorsThe issue relates to the decorator syntaxThe issue relates to the decorator syntaxRevisitAn issue worth coming back toAn issue worth coming back toSuggestionAn idea for TypeScriptAn idea for TypeScript