Skip to content

Instantly share code, notes, and snippets.

@SamVerschueren
Last active August 25, 2016 19:56
Show Gist options
  • Save SamVerschueren/423ab658293d7709d0aa96408b4fabba to your computer and use it in GitHub Desktop.
Save SamVerschueren/423ab658293d7709d0aa96408b4fabba to your computer and use it in GitHub Desktop.
index.ts
import * as objectAssign from 'object-assign';
const foo = {
foo: 'bar'
};
const unicorn = objectAssign({
unicorn: 'rainbow'
}, foo);
console.log(unicorn);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment