@mocanvas/editor · type
type RequiredKeys<T> = {
[K in keyof T]-?: object extends Pick<T, K> ? never : K;
}[keyof T]The keys of T that a caller has to supply. The complement of OptionalKeys.
Mentioned here
mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.