Optional<T, K extends > Type Alias
Optional = Pick<Partial<T>, K> & Omit<T, K>
Make a new type from an existing type T
, with set of required properties K
optional.
Defined in
- core/bentley/src/UtilityTypes.ts Line 19
Last Updated: 29 April, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.