You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The TypeScript types for segmentEach in @turf/meta have all the arguments to the callback as nullable, but it doesn't appear from either the docs or the code that they can ever be null. This makes it necessary to write pointless checks for undefined to get my code to typecheck.
Using Turf 7.1.0; this is still the case in latest master.
The text was updated successfully, but these errors were encountered:
The TypeScript types for
segmentEach
in@turf/meta
have all the arguments to the callback as nullable, but it doesn't appear from either the docs or the code that they can ever be null. This makes it necessary to write pointless checks for undefined to get my code to typecheck.Using Turf 7.1.0; this is still the case in latest master.
The text was updated successfully, but these errors were encountered: