diff --git a/package.json b/package.json index 096da8136..0a7873791 100644 --- a/package.json +++ b/package.json @@ -64,8 +64,8 @@ }, "peerDependencies": { "@fastify/static": "^6.0.0", - "@nestjs/common": "^9.0.0", - "@nestjs/core": "^9.0.0", + "@nestjs/common": "^9.0.0 || ^10.0.0", + "@nestjs/core": "^9.0.0 || ^10.0.0", "class-transformer": "*", "class-validator": "*", "reflect-metadata": "^0.1.12" diff --git a/tsconfig.json b/tsconfig.json index c40afb946..34e051061 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -7,7 +7,7 @@ "noLib": false, "emitDecoratorMetadata": true, "experimentalDecorators": true, - "target": "es6", + "target": "ES2021", "sourceMap": false, "outDir": "./dist", "rootDir": "./lib",