-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Nikola Hristov <[email protected]>
- Loading branch information
1 parent
c71549d
commit ccebdb7
Showing
2 changed files
with
11 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
/** | ||
* @module Merge | ||
* | ||
* Represents a generic interface for deep merging objects using merge functions defined in DeepMergeMergeFunctionsURIs. | ||
* Represents a generic interface for deep merging objects using merge functions defined in DeepMergeFunctionsURIs. | ||
* | ||
* @template PMF - A type parameter representing Partial<DeepMergeMergeFunctionsURIs>. | ||
* @template PMF - A type parameter representing Partial<DeepMergeFunctionsURIs>. | ||
* | ||
*/ | ||
export default interface Interface<PMF extends Partial<DeepMergeMergeFunctionsURIs>> { | ||
export default interface Interface<PMF extends Partial<DeepMergeFunctionsURIs>> { | ||
/** | ||
* Merges multiple objects of type Ts using the provided merge functions and built-in metadata. | ||
* | ||
* @param ...Objects - An arbitrary number of objects to be merged. | ||
* | ||
*/ | ||
<Ts extends readonly unknown[]>(...Objects: Ts): DeepMergeHKT<Ts, GetDeepMergeMergeFunctionsURIs<PMF>, DeepMergeBuiltInMetaData>; | ||
<Ts extends readonly unknown[]>(...Objects: Ts): DeepMergeHKT<Ts, GetDeepMergeFunctionsURIs<PMF>, DeepMergeBuiltInMetaData>; | ||
} | ||
export interface Generic { | ||
DeepMergeArraysURI: DeepMergeLeafURI; | ||
} | ||
import type { DeepMergeBuiltInMetaData, DeepMergeHKT, DeepMergeLeafURI, DeepMergeMergeFunctionsURIs, GetDeepMergeMergeFunctionsURIs } from "deepmerge-ts"; | ||
import type { DeepMergeBuiltInMetaData, DeepMergeHKT, DeepMergeLeafURI, DeepMergeFunctionsURIs, GetDeepMergeFunctionsURIs } from "deepmerge-ts"; |