@ckeditor/ckeditor5-core
Version:
The core architecture of CKEditor 5 – the best browser-based rich text editor.
16 lines (15 loc) • 408 B
TypeScript
/**
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
*/
/**
* @module core/typings
*/
export type PartialBy<
T,
K extends keyof T
> = Omit<T, K> & Partial<Pick<T, K>>;
export type NonEmptyArray<A> = Array<A> & {
0: A;
};
export type HexColor<S extends string = string> = `#${S}`;