Repository URL to install this package:
|
Version:
1.3.3 ▾
|
import { Attributes } from 'react'
export interface AnyObj {
[key: string]: any
}
export type AnyProps = AnyObj & Attributes
export type Diff<
T extends string | symbol | number,
U extends string | symbol | number
> = ({ [P in T]: P } & { [P in U]: never } & { [x: string]: never })[T]
export type Omit<T, K extends keyof T> = Pick<T, Diff<keyof T, K>>
export type Without<Types, Props> = Omit<Types, keyof Props>