Files
30-seconds-of-code/node_modules/rollup/dist/typings/utils/mergeOptions.d.ts
2019-08-20 15:52:05 +02:00

20 lines
631 B
TypeScript

import { Deprecation } from './deprecateOptions';
import { WarningHandler } from '../rollup/index';
export declare type GenericConfigObject = {
[key: string]: any;
};
export declare const commandAliases: {
[key: string]: string;
};
export default function mergeOptions({config, command: rawCommandOptions, deprecateConfig, defaultOnWarnHandler}: {
config: GenericConfigObject;
command?: GenericConfigObject;
deprecateConfig?: GenericConfigObject;
defaultOnWarnHandler?: WarningHandler;
}): {
inputOptions: any;
outputOptions: any;
deprecations: Deprecation[];
optionError: string | null;
};