UNPKG

@n1k1t/mock-server

Version:

The ultimate toolkit to intercept, transform, and simulate HTTP/WS traffic with type-safe expectations

9 lines 715 B
import { ExpectationOperator } from '../models/operator'; import { IExpectationSchemaContext, IExpectationOperatorsSchema, TExpectationOperatorLocation, IExpectationMeta } from '../types'; export default class OrExpectationOperator<TContext extends IExpectationSchemaContext, TLocation extends TExpectationOperatorLocation = TExpectationOperatorLocation, TValue = void> extends ExpectationOperator<TContext, IExpectationOperatorsSchema<TContext, TLocation, TValue>[]> { compiled: ExpectationOperator<TContext, any>[]; get tags(): IExpectationMeta['tags']; match(context: TContext): Promise<boolean>; manipulate<T extends TContext>(context: T): Promise<T>; } //# sourceMappingURL=or.operator.d.ts.map