I would like the Value type to accept two-dimensional arrays.
In the sample of the Multiple Range Picker in the document , it is configured to work with a two-dimensional array.
However, in the index.d.ts file, the type is only allowed for one-dimensional arrays, and under TypeScript, you can't use it without asserting the type with as.
Since I don't want to use assertions, I have submitted a pull request adding the type for two-dimensional arrays.
Thank you for your consideration.
I would like the
Value
type to accept two-dimensional arrays. In the sample of the Multiple Range Picker in the document , it is configured to work with a two-dimensional array. However, in the index.d.ts file, the type is only allowed for one-dimensional arrays, and under TypeScript, you can't use it without asserting the type withas
. Since I don't want to use assertions, I have submitted a pull request adding the type for two-dimensional arrays. Thank you for your consideration.