Skip to content
Snippets Groups Projects
Commit 8558e3dd authored by michael.minelli's avatar michael.minelli
Browse files

ImmutableFileDescriptor => Migrate to zod format

parent 10171790
No related branches found
No related tags found
No related merge requests found
interface ImmutableFileDescriptor { import { z } from 'zod';
description?: string,
path: string,
isDirectory?: boolean, const ImmutableFileDescriptor = z.object({
} description: z.string().optional(),
path : z.string(),
isDirectory: z.boolean().optional()
});
type ImmutableFileDescriptor = z.infer<typeof ImmutableFileDescriptor>;
export default ImmutableFileDescriptor; export default ImmutableFileDescriptor;
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment