Skip to content

Commit

Permalink
Merge pull request #110 from pie-framework/fix/validation
Browse files Browse the repository at this point in the history
fix: validate method declaration
  • Loading branch information
PatriciaRomaniuc authored Aug 2, 2022
2 parents 400a4e2 + 88c3179 commit 27a779e
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 @@ -64,6 +64,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) => Object;
validate: (model: Object, config: Object) => any;
};

0 comments on commit 27a779e

Please sign in to comment.