(
public field: string,
options: {
label?: string | null;
isDefault?: boolean;
} = {}
)
| 7 | |
| 8 | abstract class BaseSort { |
| 9 | constructor( |
| 10 | public field: string, |
| 11 | options: { |
| 12 | label?: string | null; |
| 13 | isDefault?: boolean; |
| 14 | } = {} |
| 15 | ) { |
| 16 | this.label = options.label || null; |
| 17 | this.isDefault = options.isDefault || false; |
| 18 | this.reverse = false; |
| 19 | const className = snakeCase(this.getClassName()); |
| 20 | this.id = `${field}_${className}`; |
| 21 | } |
| 22 | |
| 23 | protected reverse: boolean; |
| 24 | public id: string; |
nothing calls this directly
no test coverage detected