feat(types): add InferAttributes
utility type
#13909
Merged
InferAttributes
utility type
#13909