Skip to content

Instantly share code, notes, and snippets.

@idkjs
Created February 9, 2019 13:06
Show Gist options
  • Save idkjs/6569c6a939ccb2996c98191e1bf53341 to your computer and use it in GitHub Desktop.
Save idkjs/6569c6a939ccb2996c98191e1bf53341 to your computer and use it in GitHub Desktop.
/* Amplify.re */
type amp;
[@bs.module "@aws-amplify/auth/lib"] external amplify: amp = "default";
type config;
[@bs.module "../aws-exports.js"] external awsConfig: config = "default";
type configure;
[@bs.send] external configure: (amp, config) => configure = "configure";
/* let amplify = amplify; */
let configure = configure(amplify, awsConfig);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment