diff --git a/src/misc/schema.ts b/src/misc/schema.ts index 52fbbca43b..f5e13d76d6 100644 --- a/src/misc/schema.ts +++ b/src/misc/schema.ts @@ -47,7 +47,9 @@ export const refs = { GalleryPost: packedGalleryPostSchema, }; -export type Packed = SchemaType +export type Packed = PackRef + +type PackRef = { [x in keyof s['properties']]: SchemaType }; export interface Schema extends SimpleSchema { items?: Schema;