@hybridly/utils
Advanced tools
Comparing version 0.1.0-alpha.1 to 0.1.0-alpha.2
@@ -44,3 +44,7 @@ import makeDebugger from 'debug'; | ||
declare function when<T, D>(condition: any, data: T, _default?: D): T | D | undefined; | ||
declare function merge<T>(x: Partial<T>, y: Partial<T>): T; | ||
interface MergeOptions { | ||
overwriteArray?: boolean; | ||
arrayMerge?: (target: any[], source: any[]) => any[]; | ||
} | ||
declare function merge<T>(x: Partial<T>, y: Partial<T>, options?: MergeOptions): T; | ||
declare function removeTrailingSlash(string: string): string; | ||
@@ -47,0 +51,0 @@ |
{ | ||
"name": "@hybridly/utils", | ||
"version": "0.1.0-alpha.1", | ||
"version": "0.1.0-alpha.2", | ||
"description": "Utils used in Hybridly packages", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
27266
755