Skip to content

Instantly share code, notes, and snippets.

@justinyoo justinyoo/dependency-configs.ts Secret

Created Mar 21, 2017
What would you like to do?
Using IoC Container in Vue.js and TypeScript App
// configs/DependencyConfigs.ts
import { Container } from "inversify";
import "reflect-metadata";
import SERVICE_IDENTIFIER from "../models/Identifiers";
import Weapon from "../interfaces/Weapon";
import Warrior from "../interfaces/Warrior";
import { Ninja } from "../models/Warrior";
import { Shuriken } from "../models/Weapon";
let container: Container = new Container();
export default container;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.