Skip to content

WithRequired

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/WithRequired.ts for the most up-to-date information.

Overview

Type WithRequired

Creates a type like the input type T, but with all certain properties required.

@author Jonathan Olson <jonathan.olson@colorado.edu> @author Sam Reid (PhET Interactive Simulations)

import type { WithRequired } from 'scenerystack/phet-core';

StrictOmit<T, list> & PickRequired<T, list>

Source Code

See the source for WithRequired.ts in the phet-core repository.