@flopflip/types
Advanced tools
Comparing version 1.4.0 to 1.4.1
@@ -9,3 +9,4 @@ // Type definitions for @flopflip/react 5.x | ||
{ [P in U]: never } & { [x: string]: never })[T]; | ||
export type Omit<T, K extends keyof T> = Pick<T, Diff<keyof T, K>>; | ||
export type Omit<T, K extends keyof T> = Pick<T, | ||
({ [P in keyof T]-?: P } & { [P in K]: never })[keyof T]>; | ||
@@ -43,4 +44,4 @@ export interface ComponentEnhancerWithProps<ProvidedProps, RerquiredProps> { | ||
children?: | ||
| (({ isFeatureEnabled: boolean }) => React.ReactNode) | ||
| React.ReactNode; | ||
| (({ isFeatureEnabled }: { isFeatureEnabled: boolean }) => React.ReactNode) | ||
| React.ReactNode; | ||
isFeatureEnabled: boolean; | ||
@@ -89,3 +90,3 @@ } | ||
any | ||
> {} | ||
> { } | ||
@@ -95,3 +96,3 @@ export class ConfigureFlopFlip extends React.Component< | ||
any | ||
> {} | ||
> { } | ||
@@ -101,3 +102,3 @@ export class ReconfigureFlopFlip extends React.Component< | ||
any | ||
> {} | ||
> { } | ||
} |
{ | ||
"name": "@flopflip/types", | ||
"version": "1.4.0", | ||
"version": "1.4.1", | ||
"description": "Type definitions for flipflop", | ||
@@ -24,3 +24,3 @@ "scripts": {}, | ||
], | ||
"gitHead": "5279a61d63f8a240623c37e2faed03dd8e61cf1b" | ||
"gitHead": "d662a8800ad77b738f88d2782025a436cff15d99" | ||
} |
6318
123