Last change
on this file since 1ad8e64 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
1.1 KB
|
Line | |
---|
1 | import unique from "./unique";
|
---|
2 | import { CustomizeRule, CustomizeRuleString, ICustomizeOptions, Key } from "./types";
|
---|
3 | declare function merge<Configuration extends object>(firstConfiguration: Configuration | Configuration[], ...configurations: Configuration[]): Configuration;
|
---|
4 | declare function mergeWithCustomize<Configuration extends object>(options: ICustomizeOptions): (firstConfiguration: Configuration | Configuration[], ...configurations: Configuration[]) => Configuration;
|
---|
5 | declare function customizeArray(rules: {
|
---|
6 | [s: string]: CustomizeRule | CustomizeRuleString;
|
---|
7 | }): (a: any, b: any, key: Key) => any;
|
---|
8 | declare type Rules = {
|
---|
9 | [s: string]: CustomizeRule | CustomizeRuleString | Rules;
|
---|
10 | };
|
---|
11 | declare function mergeWithRules(rules: Rules): (firstConfiguration: object | object[], ...configurations: object[]) => object;
|
---|
12 | declare function customizeObject(rules: {
|
---|
13 | [s: string]: CustomizeRule | CustomizeRuleString;
|
---|
14 | }): (a: any, b: any, key: Key) => any;
|
---|
15 | export { customizeArray, customizeObject, CustomizeRule, merge, merge as default, mergeWithCustomize, mergeWithRules, unique, };
|
---|
Note:
See
TracBrowser
for help on using the repository browser.