@wireapp/commons
Advanced tools
Comparing version 5.0.3 to 5.0.4
import logdown from 'logdown'; | ||
export declare type Logger = logdown.Logger; | ||
export type Logger = logdown.Logger; | ||
export interface LoggerOptions { | ||
@@ -4,0 +4,0 @@ color?: string; |
@@ -1,2 +0,2 @@ | ||
export declare type FalsyType = false | null | undefined | '' | 0; | ||
export type FalsyType = false | null | undefined | '' | 0; | ||
/** | ||
@@ -7,3 +7,3 @@ * Makes all properties of a type recursively optional | ||
*/ | ||
export declare type RecursivePartial<T> = { | ||
export type RecursivePartial<T> = { | ||
[P in keyof T]?: T[P] extends (infer U)[] ? RecursivePartial<U>[] : T[P] extends object ? RecursivePartial<T[P]> : T[P]; | ||
@@ -15,3 +15,3 @@ }; | ||
*/ | ||
export declare type OptionalKeys<T> = { | ||
export type OptionalKeys<T> = { | ||
[K in keyof T]-?: {} extends Pick<T, K> ? K : never; | ||
@@ -23,6 +23,6 @@ }[keyof T]; | ||
*/ | ||
export declare type RequiredKeys<T> = { | ||
export type RequiredKeys<T> = { | ||
[K in keyof T]-?: {} extends Pick<T, K> ? never : K; | ||
}[keyof T]; | ||
export declare type Without<T, U> = { | ||
export type Without<T, U> = { | ||
[P in Exclude<keyof T, keyof U>]?: never; | ||
@@ -33,3 +33,3 @@ }; | ||
*/ | ||
export declare type XOR<T, U> = T | U extends object ? (Without<T, U> & U) | (Without<U, T> & T) : T | U; | ||
export type XOR<T, U> = T | U extends object ? (Without<T, U> & U) | (Without<U, T> & T) : T | U; | ||
//# sourceMappingURL=TypeUtil.d.ts.map |
@@ -8,5 +8,5 @@ import { RecursivePartial, OptionalKeys, RequiredKeys, XOR } from './TypeUtil'; | ||
} | ||
declare type SomePartial = Partial<UserSettings>; | ||
type SomePartial = Partial<UserSettings>; | ||
declare const invalidPartial: SomePartial['one']; | ||
declare type AllPartial = RecursivePartial<UserSettings>; | ||
type AllPartial = RecursivePartial<UserSettings>; | ||
declare const allPartial: AllPartial['one']; | ||
@@ -13,0 +13,0 @@ interface MessageSettings { |
@@ -16,3 +16,3 @@ { | ||
"ansi-regex": "5.0.1", | ||
"fs-extra": "10.1.0", | ||
"fs-extra": "11.1.0", | ||
"logdown": "3.3.1", | ||
@@ -40,4 +40,4 @@ "platform": "1.3.6" | ||
}, | ||
"version": "5.0.3", | ||
"gitHead": "cd2fe2ccaec957e237a70c928222c0c8e91a317a" | ||
"version": "5.0.4", | ||
"gitHead": "073ba4e4894358c2ebc85719ffac6982bd517d60" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
98537
+ Addedfs-extra@11.1.0(transitive)
- Removedfs-extra@10.1.0(transitive)
Updatedfs-extra@11.1.0