61. implement Prefix<T, P>
分享给更多人
-通过 / -执行
Implment Prefix<T, P>
to prefix the key names.
type A = Prefix<{
a: 'bfe',
b: 'dev'
}, 'BFE'>
// { BFE_a: 'bfe', BFE_b: 'dev'}
-通过 / -执行
Implment Prefix<T, P>
to prefix the key names.
type A = Prefix<{
a: 'bfe',
b: 'dev'
}, 'BFE'>
// { BFE_a: 'bfe', BFE_b: 'dev'}