orbit icon indicating copy to clipboard operation
orbit copied to clipboard

inline PropObject type

Open straxico opened this issue 4 years ago • 0 comments

An index signature parameter type cannot be a union type. Consider using a mapped object type instead

https://github.com/kiwicom/orbit/blob/0fdff4fb9bb37d7d540c069f38de5de670f8fd84/packages/orbit-components/src/Inline/helpers.js#L49

for fix

type PropObject = { [key in Prop]: AlignInline | JustifyInline; };

straxico avatar Dec 14 '20 12:12 straxico