mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-06-03 14:36:02 +08:00
react-redux: Remove ReactNode import
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import * as React from "react"
|
||||
import { render } from "react-dom"
|
||||
import { Provider, IntlProvider, IntlState, IntlAction, intlReducer, updateIntl } from "react-intl-redux"
|
||||
import { createStore } from 'redux'
|
||||
import { createStore } from "redux"
|
||||
|
||||
var action: IntlAction = updateIntl({ locale : "en", messages : {} })
|
||||
var state: IntlState = intlReducer({ locale : "en", messages : {} }, action)
|
||||
|
||||
3
types/react-redux/index.d.ts
vendored
3
types/react-redux/index.d.ts
vendored
@@ -1,4 +1,4 @@
|
||||
// Type definitions for react-redux 6.0.2
|
||||
// Type definitions for react-redux 6.0.3
|
||||
// Project: https://github.com/reactjs/react-redux
|
||||
// Definitions by: Qubo <https://github.com/tkqubo>,
|
||||
// Thomas Hasner <https://github.com/thasner>,
|
||||
@@ -30,7 +30,6 @@ import {
|
||||
Component,
|
||||
ComponentClass,
|
||||
ComponentType,
|
||||
ReactNode,
|
||||
StatelessComponent
|
||||
} from 'react';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user