PitchKit
API Reference@pitchkit/data-providerswyscoutType aliases

Known

type Known<T> = T | string & Record<never, never>;

Defined in: packages/data-providers/src/wyscout/types.ts:19

A literal union that still accepts an unrecognised string.

Wyscout's vocabularies are fixed in this dataset, but a mirror or a future export could carry a value we don't list, and a hard union would make that a type error for the caller rather than data they can inspect.

Type Parameters

Type Parameter
T extends string

On this page