UNPKG

406 BTypeScriptView Raw
1/**
2 * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4 */
5/**
6 * @module core/typings
7 */
8export type PartialBy<T, K extends keyof T> = Omit<T, K> & Partial<Pick<T, K>>;
9export type NonEmptyArray<A> = Array<A> & {
10 0: A;
11};
12export type HexColor<S extends string = string> = `#${S}`;