Type alias UpdateOptions<Tag>

UpdateOptions<Tag>: {
    handleOrCharacterId: HandleOrCharacterId;
    note: Partial<Tag extends "short"
        ? ShortInput
        : PostInput>;
    token: string;
} & ({
    noteId: number;
} | {
    slug: string;
})

Type Parameters

  • Tag extends Exclude<NoteType, "portfolio">

Type declaration