UNPKG

@devexperts/dxcharts-lite

Version:
16 lines (15 loc) 622 B
/* * Copyright (C) 2019 - 2026 Devexperts Solutions IE Limited * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. * If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/. */ export type Mutable<T> = { -readonly [P in keyof T]: T[P]; }; export type PartialExcept<T, K extends keyof T> = Partial<Omit<T, K>> & Pick<T, K>; export type RequiredKeys<T> = { [K in keyof T]-?: undefined extends T[K] ? never : K; }[keyof T]; export type OptionalKeys<T> = { [K in keyof T]-?: undefined extends T[K] ? K : never; }[keyof T];