Skip to content

Commit

Permalink
fix: validate prop in controller interface declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
PatriciaRomaniuc committed Aug 2, 2022
1 parent 9de5761 commit 3863b72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/interface.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,6 @@ type PieController = {
model: (config: Object, session: Object, env: Object) => Promise<Object>;
score: (config: Object, session: Object, env: Object) => Promise<Object>;
createCorrectResponseSession: (config: Object, env: Object) => Promise<Object>;
validate: (model: Object, config: Object) => Promise<Object>;
validate: (model: Object, config: Object) => Object;
};

0 comments on commit 3863b72

Please sign in to comment.