mirror of https://github.com/vector-im/riot-web
Remove unneeded lint tweak
parent
1b615eebc1
commit
8537f0a5a1
|
@ -17,7 +17,6 @@ limitations under the License.
|
|||
import { JSXElementConstructor } from "react";
|
||||
|
||||
// Based on https://stackoverflow.com/a/53229857/3532235
|
||||
// eslint-disable-next-line @typescript-eslint/type-annotation-spacing
|
||||
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…
Reference in New Issue