react-multi-date-picker
react-multi-date-picker copied to clipboard
I would like to add two-dimensional arrays to the Value type
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'm sorry. There was an mistake in the code I provided, so I fixed it.