This commit is contained in:
tamaina
2023-05-04 11:13:03 +00:00
parent 47e3792105
commit 0ee1dab2bc
3 changed files with 4 additions and 3 deletions

View File

@@ -70,7 +70,8 @@ type Refs = typeof packedAntennaSchema | typeof packedNoteSchema; // TODO: typeo
export type References = [
typeof IdSchema,
...UnionToArray<Refs>
typeof packedAntennaSchema,
typeof packedNoteSchema,
];
export type Packed<x extends GetKeys<References, 'https://misskey-hub.net/api/schemas/'>> = GetDef<References, x, 'https://misskey-hub.net/api/schemas/'>;