Skip to content

Commit 6530cb2

Browse files
author
Umed Khudoiberdiev
committed
version bump
1 parent 5efd74c commit 6530cb2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "routing-controllers",
33
"private": true,
4-
"version": "0.7.1",
4+
"version": "0.7.2",
55
"description": "Create structured, declarative and beautifully organized class-based controllers with heavy decorators usage for Express / Koa using TypeScript.",
66
"license": "MIT",
77
"readmeFilename": "README.md",

src/metadata/ParamMetadata.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ export class ParamMetadata {
118118
if (args.explicitType) {
119119
this.targetType = args.explicitType;
120120
} else {
121-
const ParamTypes = Reflect.getMetadata("design:paramtypes", args.object, args.method);
121+
const ParamTypes = (Reflect as any).getMetadata("design:paramtypes", args.object, args.method);
122122
if (typeof ParamTypes !== "undefined") {
123123
this.targetType = ParamTypes[args.index];
124124
}

0 commit comments

Comments
 (0)