utils.d.ts 567 B

12345678
  1. /**
  2. * Use of this source code is governed by an MIT-style license that can be
  3. * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE
  4. */
  5. import { ModalOptions } from './modal-types';
  6. export declare function applyConfigDefaults(config: ModalOptions, defaultOptions: ModalOptions): ModalOptions;
  7. export declare function getValueWithConfig<T>(userValue: T | undefined, configValue: T | undefined, defaultValue: T): T | undefined;
  8. export declare function getConfigFromComponent<T extends ModalOptions>(component: T): ModalOptions;