Asymmetrik/ngx-starter

View on GitHub
src/app/common/sorting.model.ts

Summary

Maintainability
A
0 mins
Test Coverage
export class SortDirection {
    public static readonly desc = 'DESC';
    public static readonly asc = 'ASC';
}

export type SortDir = 'DESC' | 'ASC';

export interface SortChange {
    sortField: string | string[];
    sortDir: SortDir;
}