@nestjs/mapped-types
Advanced tools
Comparing version 0.0.3 to 0.0.4
import { Type } from '@nestjs/common'; | ||
export declare function OmitType<T, K extends keyof T>(classRef: Type<T>, keys: K[]): Type<Omit<T, typeof keys[number]>>; | ||
export declare function OmitType<T, K extends keyof T>(classRef: Type<T>, keys: readonly K[]): Type<Omit<T, typeof keys[number]>>; |
import { Type } from '@nestjs/common'; | ||
export declare function PickType<T, K extends keyof T>(classRef: Type<T>, keys: K[]): Type<Pick<T, typeof keys[number]>>; | ||
export declare function PickType<T, K extends keyof T>(classRef: Type<T>, keys: readonly K[]): Type<Pick<T, typeof keys[number]>>; |
{ | ||
"name": "@nestjs/mapped-types", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "Nest - modern, fast, powerful node.js web framework (@mapped-types)", | ||
@@ -23,21 +23,21 @@ "author": "Kamil Mysliwiec", | ||
"@commitlint/config-angular": "8.3.4", | ||
"@nestjs/common": "7.0.8", | ||
"@types/jest": "25.2.1", | ||
"@nestjs/common": "7.0.11", | ||
"@types/jest": "25.2.2", | ||
"@types/node": "7.10.8", | ||
"@typescript-eslint/eslint-plugin": "2.28.0", | ||
"@typescript-eslint/parser": "2.28.0", | ||
"@typescript-eslint/eslint-plugin": "2.33.0", | ||
"@typescript-eslint/parser": "2.33.0", | ||
"class-transformer": "0.2.3", | ||
"class-validator": "0.12.1", | ||
"eslint": "6.8.0", | ||
"eslint-config-prettier": "6.10.1", | ||
"class-validator": "0.12.2", | ||
"eslint": "7.0.0", | ||
"eslint-config-prettier": "6.11.0", | ||
"eslint-plugin-import": "2.20.2", | ||
"husky": "4.2.5", | ||
"jest": "25.4.0", | ||
"lint-staged": "10.1.6", | ||
"prettier": "2.0.4", | ||
"jest": "26.0.1", | ||
"lint-staged": "10.2.2", | ||
"prettier": "2.0.5", | ||
"reflect-metadata": "0.1.13", | ||
"release-it": "13.5.4", | ||
"release-it": "13.5.8", | ||
"rimraf": "3.0.2", | ||
"ts-jest": "25.4.0", | ||
"typescript": "3.8.3" | ||
"ts-jest": "25.5.1", | ||
"typescript": "3.9.2" | ||
}, | ||
@@ -44,0 +44,0 @@ "peerDependencies": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
16545