Open samreid opened 3 hours ago
I found that import type { LoDashStatic } from 'lodash'
seems to work well, keeps everything in type space. I tested that this runs properly in density => phet-io standalone + phetioCompareAPIs. If this seems reasonable to you, can you please spot check the type assertions I added to make this work?
phetioCompareAPIs.ts currently has:
@zepumph and I discussed that it would be preferable to get the types from lodash, but it must be done in typespace only so it is compatible with node, browser built and browser unbuilt.