/** Strip everything up to and including the first `/` */ export type StripFirstPrefix = S extends `${string}/${infer Rest}` ? Rest : S /** Strip a specific prefix `P/` from attribute string */ export type StripExplicitPrefix = S extends `${P}/${infer Rest}` ? Rest : S