react-multi-date-picker icon indicating copy to clipboard operation
react-multi-date-picker copied to clipboard

I would like to add two-dimensional arrays to the Value type

Open maronnjapan opened this issue 1 year ago • 1 comments

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.

maronnjapan avatar Feb 09 '24 03:02 maronnjapan

I'm sorry. There was an mistake in the code I provided, so I fixed it.

maronnjapan avatar Feb 23 '24 00:02 maronnjapan