Skip to content

Instantly share code, notes, and snippets.

@singingwolfboy
Created February 21, 2018 10:52
Show Gist options
  • Save singingwolfboy/5df88b35c08df6f413e12ef2b805c0aa to your computer and use it in GitHub Desktop.
Save singingwolfboy/5df88b35c08df6f413e12ef2b805c0aa to your computer and use it in GitHub Desktop.
import { doStuff } from "parent";
export handle = (data, context, callback) => {
return doStuff(data, context, callback, "custom-arg-1");
}
import { doStuff } from "parent";
export handle = (data, context, callback) => {
return doStuff(data, context, callback, "custom-arg-2");
}
export doStuff = (data, context, callback, myCustomArg) => {
// ... do whatever you want
return whatever;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment