# Installation
> `npm install --save @types/di`

# Summary
This package contains type definitions for di (https://github.com/vojtajina/node-di).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/di.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/di/index.d.ts)
````ts
export class Injector {
    get(dep: string): {};
    invoke(fn: (context: {}, deps: Array<{}>) => {}, context: {}): {};
    instantiate({ prototype: {} }): {};
    createChild(modules: Array<{}>): Injector;
    constructor(modules?: Array<{}>, parent?: Injector);
}

````

### Additional Details
 * Last updated: Mon, 06 Nov 2023 22:41:05 GMT
 * Dependencies: none

# Credits
These definitions were written by [John J Barton](https://github.com/johnjbarton).
