brimdata / react-arborist

The complete tree view component for React
MIT License
3.07k stars 140 forks source link

build: Upgrade TypeScript, fix 5.6 error #272

Open tmcw opened 2 months ago

tmcw commented 2 months ago

The behavior of

return !utils.access(data, check);

and

return !utils.access(data, check) ?? true;

Is identical because false ?? true === false and true ?? true === true.

tmcw commented 1 month ago

Any chance this'll get merged? This is going to prevent people from using arborist with TypeScript 5.6.