UNPKG

matrix-js-sdk

Version:
9 lines 325 B
export type NonEmptyArray<T> = [T, ...T[]]; export type Without<T, U> = { [P in Exclude<keyof T, keyof U>]?: never; }; export type XOR<T, U> = T | U extends object ? (Without<T, U> & U) | (Without<U, T> & T) : T | U; export type Writeable<T> = { -readonly [P in keyof T]: T[P]; }; //# sourceMappingURL=common.d.ts.map