UNPKG

@angular/material

Version:
16 lines (15 loc) 695 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 */ /// <amd-module name="@angular/material/schematics/ng-update/upgrade-rules/hammer-gestures-v9/remove-element-from-html" /> import { UpdateRecorder } from '@angular-devkit/schematics'; import { parse5 } from '@angular/cdk/schematics'; /** * Removes the specified element. Additionally, preceding whitespace will be removed * to not leave empty lines in the resulting HTML. */ export declare function removeElementFromHtml(element: parse5.DefaultTreeElement, recorder: UpdateRecorder): void;