Remove unneeded lint tweak

This commit is contained in:
J. Ryan Stinnett 2021-04-26 14:59:26 +01:00
parent 1b615eebc1
commit 8537f0a5a1

View file

@ -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] };