Optional<T, K extends undefined> Type
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: 21 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.