Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
darrachequesne committed Nov 20, 2023
1 parent 0bcc7aa commit 7c4678e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions examples/basic-crud-application/server/lib/events.ts
@@ -1,9 +1,12 @@
import { Todo, TodoID } from "./todo-management/todo.repository";
import { ValidationErrorItem } from "joi";

interface Error {
error: string;
errorDetails?: ValidationErrorItem[];
errorDetails?: {
message: string;
path: Array<string | number>;
type: string;
}[];
}

interface Success<T> {
Expand Down

0 comments on commit 7c4678e

Please sign in to comment.