@nestjs/config
Advanced tools
Comparing version 1.1.4 to 1.1.5
export declare type PathImpl<T, Key extends keyof T> = Key extends string ? T[Key] extends Record<string, any> ? `${Key}.${PathImpl<T[Key], Exclude<keyof T[Key], keyof any[]>> & string}` | `${Key}.${Exclude<keyof T[Key], keyof any[]> & string}` : never : never; | ||
export declare type PathImpl2<T> = PathImpl<T, keyof T> | keyof T; | ||
export declare type Path<T> = PathImpl2<T> extends string | keyof T ? PathImpl2<T> : keyof T; | ||
export declare type Path<T> = keyof T extends string ? PathImpl2<T> extends string | keyof T ? PathImpl2<T> : keyof T : never; | ||
export declare type PathValue<T, P extends Path<T>> = P extends `${infer Key}.${infer Rest}` ? Key extends keyof T ? Rest extends Path<T[Key]> ? PathValue<T[Key], Rest> : never : never : P extends keyof T ? T[P] : never; |
{ | ||
"name": "@nestjs/config", | ||
"version": "1.1.4", | ||
"version": "1.1.5", | ||
"description": "Nest - modern, fast, powerful node.js web framework (@config)", | ||
@@ -5,0 +5,0 @@ "author": "Kamil Mysliwiec", |
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
38020