update meta type to force type safety

This commit is contained in:
Gergő Ábrahám 2025-01-30 15:48:06 +01:00
parent cd9096cf73
commit ca0c01b63b

View file

@ -7,7 +7,7 @@
import * as t from 'io-ts';
export const meta = t.object;
export const meta = t.UnknownRecord;
export type Meta = t.TypeOf<typeof meta>;
export const metaOrUndefined = t.union([meta, t.undefined]);
export type MetaOrUndefined = t.TypeOf<typeof metaOrUndefined>;