Typecustom-idv0.2.1
CustomIdShape
The set of fields a customId carries, keyed by name.
Write it as a constraint when a helper of your own takes a definition and its params together. AnyCustomId covers the looser case where the fields do not matter.
type CustomIdShape = Record<
string,
CustomIdField<unknown>
>;