Comparing version 7.1.1 to 7.1.2
@@ -15,4 +15,5 @@ /// <reference types="node" /> | ||
*/ | ||
get<Key extends keyof T>(key: Key | string): T[Key] | undefined; | ||
get<Key extends keyof T, Default = T[Key]>(key: Key | string, defaultValue: Default): T[Key] | Default; | ||
get<Key extends keyof T>(key: Key): T[Key]; | ||
get<Key extends keyof T>(key: Key, defaultValue: Required<T>[Key]): Required<T>[Key]; | ||
get<Key extends string, Value = unknown>(key: Exclude<Key, keyof T>, defaultValue?: Value): Value; | ||
/** | ||
@@ -19,0 +20,0 @@ Set an item or multiple items at once. |
{ | ||
"name": "conf", | ||
"version": "7.1.1", | ||
"version": "7.1.2", | ||
"description": "Simple config handling for your app or module", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
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
45264
709