kurdquiz_lib
Version:
13 lines • 502 B
TypeScript
import { InferType } from "yup";
export declare const baseAnswerSchema: import("yup").ObjectSchema<import("yup").Shape<object | undefined, {
question_id: string;
answer_text: string;
answer_id: number;
}>>;
export declare type Answer = InferType<typeof baseAnswerSchema>;
export declare const valdiateAnswer: (answer: any) => Promise<import("yup").Shape<object | undefined, {
question_id: string;
answer_text: string;
answer_id: number;
}>>;
//# sourceMappingURL=answer.d.ts.map