type sortBy = "name" | "size" | "date" | "type" ; type order = "asc" | "desc" ; export default class sortType { "key" : sortBy ; "order" : order ; constructor ( key = "type" , order = "asc" ) { this . key = key ; this . order = order ; } }