UNPKG

575 BTypeScriptView Raw
1/**
2 * @license
3 * Copyright Google LLC All Rights Reserved.
4 *
5 * Use of this source code is governed by an MIT-style license that can be
6 * found in the LICENSE file at https://angular.io/license
7 */
8interface WithPriority {
9 priority?: number;
10}
11/** HOF to sort the breakpoints by descending priority */
12export declare function sortDescendingPriority<T extends WithPriority>(a: T | null, b: T | null): number;
13/** HOF to sort the breakpoints by ascending priority */
14export declare function sortAscendingPriority<T extends WithPriority>(a: T, b: T): number;
15export {};