Allow interface to be named (#11673)

> error TS4023: Exported variable 'DevTools' has or is using name 'IDevTools' from external module "/Users/remojansen/CODE/forks/redux-bootstrap/node_modules/@types/redux-devtools/index" but cannot be named.
This commit is contained in:
Remo H. Jansen
2016-10-03 14:31:20 +01:00
committed by Masahiro Wakame
parent 16828379f8
commit 32dbb649db

View File

@@ -8,7 +8,7 @@
declare module "redux-devtools" {
import * as React from 'react'
interface IDevTools {
export interface IDevTools {
new (): JSX.ElementClass
instrument(): (opts: any) => any;
}
@@ -19,4 +19,4 @@ declare module "redux-devtools" {
var factory: { instrument(): (opts: any) => any }
export default factory;
}
}