Known
type Known<T> = T | string & Record<never, never>;Defined in: packages/data-providers/src/metrica/types.ts:19
A literal union that still accepts any string, so editors autocomplete the
values Metrica ships without the type claiming to be exhaustive.
Record<never, never> rather than {} keeps no-empty-object-type quiet.
Type Parameters
| Type Parameter |
|---|
T extends string |