Type alias PrefixProps<T, PRE>

PrefixProps<T, PRE>: {
    [K in keyof T & string as `${PRE}${K}`]: T[K]
}

add a prefix PRE to all property names of object T

Type Parameters

  • T
  • PRE extends string

Generated using TypeDoc