Implement MapStringUnionToObjectUnion<U> to map a string union to an object union as below. 题目出处:https://bigfrontend.dev/zh/typescript/implement-MapUnion-U-M type A = MapStringUnionToObjectUnion<'1'> // { // value: '1' // } type B = MapStringUni...

Markdown supported · ⌘↵ to post
No responses yet.