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.
// Type definitions for di 0.0
// Project: https://github.com/vojtajina/node-di
// Definitions by: John J Barton <https://github.com/johnjbarton>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.8
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: Fri, 22 Sep 2023 20:29:40 GMT
- Dependencies: none
- Global values: none
Credits
These definitions were written by John J Barton.
Current Tags
-
0.0.2
...
latest
(3 years ago)
-
0.0.0
...
ts2.8
(8 years ago)
-
0.0.0
...
ts2.9
(8 years ago)
-
0.0.0
...
ts3.0
(8 years ago)
-
0.0.1
...
ts3.1
(6 years ago)
-
0.0.1
...
ts3.2
(6 years ago)
-
0.0.1
...
ts3.3
(6 years ago)
-
0.0.1
...
ts3.4
(6 years ago)
-
0.0.1
...
ts3.5
(6 years ago)
-
0.0.1
...
ts3.6
(6 years ago)
-
0.0.1
...
ts3.7
(6 years ago)
-
0.0.1
...
ts3.8
(6 years ago)
-
0.0.1
...
ts3.9
(6 years ago)
-
0.0.1
...
ts4.0
(6 years ago)
-
0.0.1
...
ts4.1
(6 years ago)
-
0.0.1
...
ts4.2
(6 years ago)
-
0.0.1
...
ts4.3
(6 years ago)
-
0.0.1
...
ts4.4
(6 years ago)
-
0.0.2
...
ts4.5
(3 years ago)
-
0.0.2
...
ts4.6
(3 years ago)
-
0.0.2
...
ts4.7
(3 years ago)
-
0.0.2
...
ts4.8
(3 years ago)
-
0.0.2
...
ts4.9
(3 years ago)
-
0.0.2
...
ts5.0
(3 years ago)
-
0.0.2
...
ts5.1
(3 years ago)
-
0.0.2
...
ts5.2
(3 years ago)
-
0.0.2
...
ts5.3
(3 years ago)
3 Versions