The first is a tuple and the second is an array of strings.
You can do this with tuples:
let searchOption: [string, number] = ['date', 22];
The first is a tuple and the second is an array of strings.
You can do this with tuples:
let searchOption: [string, number] = ['date', 22];