Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/ts/8
Conflicts: src/components/structures/MessagePanel.tsx src/components/structures/ScrollPanel.tsx src/components/structures/TimelinePanel.tsx src/components/views/elements/ErrorBoundary.tsx src/components/views/elements/EventListSummary.tsx src/components/views/messages/TileErrorBoundary.tsx
This commit is contained in:
commit
8f4879ea96
638 changed files with 3442 additions and 4515 deletions
|
@ -17,7 +17,7 @@ limitations under the License.
|
|||
import { JSXElementConstructor } from "react";
|
||||
|
||||
// Based on https://stackoverflow.com/a/53229857/3532235
|
||||
export type Without<T, U> = {[P in Exclude<keyof T, keyof U>] ? : never};
|
||||
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] };
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue