Typecustom-idv0.3.2AnyCustomIdAny customId, whatever its prefix and fields. Use it to type a parameter that takes one. type AnyCustomId = CustomId<string, CustomIdShape>;