Skip to content

ReadonlyKeys

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

Overview

Type ReadonlyKeys

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

{ // eslint-disable-next-line typescript-eslint/consistent-indexed-object-style [P in keyof T]-?: IfEquals<Record<P, T[P]>, { -readonly [Q in P]: T[P] }, never, P> }[keyof T]

Source Code

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