forked from rajun/ar-test
4 lines
160 B
TypeScript
4 lines
160 B
TypeScript
export type ActionResult<Intent extends string = string> =
|
|
| { ok: true; intent: Intent; message: string; id?: string }
|
|
| { ok: false; error: string };
|