Skip to content

defineFixtureOperations

defineFixtureOperations<Maps extends readonly Readonly<Record<string, (…args: any[]) => unknown>>[]>(…maps: Maps): Readonly<Intersect<Maps[number]>>

Compose named app operations without changing their definitions. Duplicate names fail immediately.

Type Parameter
Maps extends readonly Readonly<Record<string, (…args: any[]) => unknown>>[]
Parameter Type
…maps Maps

Readonly<Intersect<Maps[number]>>