@angular/material
Version:
Angular Material
22 lines (21 loc) • 787 B
TypeScript
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
import { AbstractConstructor, Constructor } from './constructor';
/** @docs-private */
export interface CanDisable {
/** Whether the component is disabled. */
disabled: boolean;
}
/**
* @docs-private
* @deprecated No longer necessary to apply to mixin classes. To be made private.
* @breaking-change 13.0.0
*/
export declare type CanDisableCtor = Constructor<CanDisable> & AbstractConstructor<CanDisable>;
/** Mixin to augment a directive with a `disabled` property. */
export declare function mixinDisabled<T extends AbstractConstructor<{}>>(base: T): CanDisableCtor & T;