UNPKG

@angular/material

Version:
18 lines (17 loc) 611 B
/** * @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 { Constructor } from './constructor'; /** @docs-private */ export interface CanDisable { /** Whether the component is disabled. */ disabled: boolean; } /** @docs-private */ export declare type CanDisableCtor = Constructor<CanDisable>; /** Mixin to augment a directive with a `disabled` property. */ export declare function mixinDisabled<T extends Constructor<{}>>(base: T): CanDisableCtor & T;