UNPKG

ng-zorro-antd

Version:

An enterprise-class UI components based on Ant Design and Angular

7 lines (6 loc) 407 B
/** * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE */ export declare function getParent<T>(nodes: T[], node: T, getLevel: (dataNode: T) => number): T | null; export declare function getNextSibling<T>(nodes: T[], node: T, getLevel: (dataNode: T) => number, _index?: number): T | null;