gunshi / default / GenerateNamespacedKey
Type Alias: GenerateNamespacedKey<Key, Prefixed>
ts
type GenerateNamespacedKey<Key, Prefixed> = `${Prefixed}${typeof BUILT_IN_KEY_SEPARATOR}${Key}`;
Generate a namespaced key.
Type Parameters
Type Parameter | Default type |
---|---|
Key extends string | - |
Prefixed extends string | typeof BUILT_IN_PREFIX |