Skip to content

Instantly share code, notes, and snippets.

@PCreations
Last active January 9, 2019 14:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PCreations/37b7486de35c17618c4a2c729d9ff5ba to your computer and use it in GitHub Desktop.
Save PCreations/37b7486de35c17618c4a2c729d9ff5ba to your computer and use it in GitHub Desktop.
const FooData = ({ id, foo, bar, foobaz }) => Object.freeze({
id,
foo,
bar,
foobaz
});
module.exports = {
FooData,
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment