Variable namespaceKeyConst
namespaceKey: (
type: string,
id: string,
opts?: { separator?: string },
) => string
Type Declaration
-
- (type: string, id: string, opts?: { separator?: string }): string
-
Parameters
- type: string
- id: string
Optionalopts: { separator?: string }
Returns string
Build a flat namespaced key: ('pre-key','1') → 'pre-key:1'.