drivers/dist-import/pilao-de-dados/Pilao/tipagem.d.ts
2024-10-02 09:47:56 -03:00

11 lines
308 B
TypeScript

import type { z } from "zod";
import type { visoes } from "../visoes";
export type tipoConstrutorPilao = {
produto: string;
conta: string;
};
export type tipoRetornoSerirconsulta<T extends keyof typeof visoes> = {
registros: any[];
legenda: string;
serie: z.infer<(typeof visoes)[T]>;
};