schema icon indicating copy to clipboard operation
schema copied to clipboard

TypeScript: toJSON() return type on MapSchema / ArraySchema

Open endel opened this issue 2 years ago • 0 comments

The return type of .toJSON() of MapSchema and ArraySchema should be respected rather than returning any.

image image


This is particularly useful on React applications where .toJSON() can be used to set to reflect local component state.

endel avatar Nov 29 '23 20:11 endel