mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-26 19:04:13 +08:00
moving from {} to any for state pass
This commit is contained in:
@@ -33,6 +33,6 @@ export interface CSSTransitionProps extends TransitionProps {
|
||||
classNames: string | CSSTransitionClassNames;
|
||||
}
|
||||
|
||||
declare class CSSTransition extends Component<CSSTransitionProps, {}> {}
|
||||
declare class CSSTransition extends Component<CSSTransitionProps, any> {}
|
||||
|
||||
export default CSSTransition;
|
||||
|
||||
2
types/react-transition-group/Transition.d.ts
vendored
2
types/react-transition-group/Transition.d.ts
vendored
@@ -66,6 +66,6 @@ export interface TransitionProps extends TransitionActions {
|
||||
* ```
|
||||
*
|
||||
*/
|
||||
declare class Transition extends Component<TransitionProps, {}> {}
|
||||
declare class Transition extends Component<TransitionProps, any> {}
|
||||
|
||||
export default Transition;
|
||||
|
||||
@@ -71,6 +71,6 @@ export type TransitionGroupProps<T extends keyof JSX.IntrinsicElements = "div",
|
||||
* components. This means you can mix and match animations across different
|
||||
* list items.
|
||||
*/
|
||||
declare class TransitionGroup extends Component<TransitionGroupProps, {}> {}
|
||||
declare class TransitionGroup extends Component<TransitionGroupProps, any> {}
|
||||
|
||||
export default TransitionGroup;
|
||||
|
||||
Reference in New Issue
Block a user