in/out typing working. Added translateTo function

This commit is contained in:
d98762625 2018-04-27 16:45:02 +01:00
parent 7e7e5e7466
commit c238862efe
3 changed files with 23 additions and 8 deletions

View file

@ -7,7 +7,7 @@
*/
import "babel-polyfill";
import {wrap, help, decapitalise} from "./apiUtils";
import {wrap, help, decapitalise, translateTo} from "./apiUtils";
import * as operations from "../core/operations/index";
// Define global environment functions
@ -29,6 +29,7 @@ Object.keys(operations).forEach(op =>
chef[decapitalise(op)] = wrap(operations[op]));
chef.help = help.bind(null, operations);
chef.translateTo = translateTo;
export default chef;
export {chef};