@angular/cdk
Version:
Angular Material Component Development Kit
14 lines (13 loc) • 444 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
*/
/**
* Asserts that a particular node is an element.
* @param node Node to be checked.
* @param name Name to attach to the error message.
*/
export declare function assertElementNode(node: Node, name: string): asserts node is HTMLElement;