Skip to content

Commit 2b0b207

Browse files
committed
upgrade
1 parent 9f472d1 commit 2b0b207

File tree

3 files changed

+7
-10
lines changed

3 files changed

+7
-10
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@gritcode/routing-controllers",
3-
"private": true,
3+
"private": false,
44
"version": "0.8.0",
55
"description": "Create structured, declarative and beautifully organized class-based controllers with heavy decorators usage for Express / Koa using TypeScript.",
66
"license": "MIT",
@@ -39,7 +39,8 @@
3939
"template-url": "^1.0.0"
4040
},
4141
"peerDependencies": {
42-
"class-validator": "^0.8.4"
42+
"class-transformer": "^0.2.3",
43+
"class-validator": "0.10.1"
4344
},
4445
"devDependencies": {
4546
"@types/chai": "^4.2.3",
@@ -85,10 +86,6 @@
8586
"typedi": "~0.8.0",
8687
"typescript": "~3.6.3"
8788
},
88-
"peerDependencies": {
89-
"class-transformer": "^0.2.3",
90-
"class-validator": "0.10.1"
91-
},
9289
"scripts": {
9390
"build": "rimraf build && echo Using TypeScript && tsc --version && tsc --pretty",
9491
"clean": "rimraf build coverage",

src/container.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export interface UseContainerOptions {
1717

1818
}
1919

20-
export type ClassConstructor<T> = { new (...args: any[]): T }
20+
export type ClassConstructor<T> = { new (...args: any[]): T };
2121

2222
/**
2323
* Container to be used by this library for inversion control. If container was not implicitly set then by default
@@ -49,7 +49,7 @@ export interface IocAdapter {
4949
/**
5050
* Return
5151
*/
52-
get<T> (someClass: ClassConstructor<T>, action?: Action): T
52+
get<T> (someClass: ClassConstructor<T>, action?: Action): T;
5353
}
5454

5555
/**

0 commit comments

Comments
 (0)