WithOptional¶
Under Construction
This documentation is auto-generated, and is a work in progress. Please see the source code at https://github.com/phetsims/phet-core/blob/main/js/types/WithOptional.ts for the most up-to-date information.
Overview¶
Type WithOptional¶
Creates a type like the input type T, but with all certain properties optional.
@author Jonathan Olson <jonathan.olson@colorado.edu> @author Sam Reid (PhET Interactive Simulations)
StrictOmit<T, list> & PickOptional<T, list>
Source Code¶
See the source for WithOptional.ts in the phet-core repository.