react-extras
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -84,3 +84,3 @@ import {Component as ReactComponent, ComponentClass, HTMLProps, ReactNode} from 'react'; | ||
*/ | ||
export function classNames(...input: Array<string | {[className: string]: unknown}>): string; | ||
export function classNames(...input: Array<string | {[className: string]: any}>): string; | ||
@@ -232,3 +232,3 @@ /** | ||
interface ForProps<T = unknown> { | ||
interface ForProps<T> { | ||
/** | ||
@@ -270,3 +270,3 @@ Items to iterate over. `render` will be called once per item. | ||
*/ | ||
export class For<T = unknown> extends ReactComponent<ForProps<T>> {} | ||
export class For<T> extends ReactComponent<ForProps<T>> {} | ||
@@ -273,0 +273,0 @@ interface ImageProps extends HTMLProps<HTMLImageElement> { |
{ | ||
"name": "react-extras", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Useful components and utilities for working with React", | ||
@@ -62,4 +62,4 @@ "license": "MIT", | ||
"react-test-renderer": "^16.7.0", | ||
"tsd": "^0.7.4", | ||
"xo": "^0.24.0" | ||
"tsd": "^0.9.0", | ||
"xo": "^0.25.3" | ||
}, | ||
@@ -66,0 +66,0 @@ "peerDependencies": { |
39852