ButtonRPCReply
type ButtonRPCReply<T> =
| {
status: "ok";
id: string;
data: T;
}
| {
status: "failed";
reason: "Invalid Icon name";
id: string;
};
Type Parameters
| Type Parameter | Default type |
|---|---|
T extends Record<string, unknown> | undefined | undefined |