Skip to content

Instantly share code, notes, and snippets.

@justinyoo
Last active March 22, 2017 04:07
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 justinyoo/ff9c8b3b1a7c795aabf5122007013ca3 to your computer and use it in GitHub Desktop.
Save justinyoo/ff9c8b3b1a7c795aabf5122007013ca3 to your computer and use it in GitHub Desktop.
Using IoC Container in Vue.js and TypeScript App
// models/Identifiers.ts
var SERVICE_IDENTIFIER = {
WARRIOR: Symbol("Warrior"),
WEAPON: Symbol("Weapon"),
CONTAINER: Symbol("Container")
};
export default SERVICE_IDENTIFIER;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment