mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-23 12:56:46 +08:00
21 lines
642 B
TypeScript
21 lines
642 B
TypeScript
// Type definitions for react-hot-loader 3.0.0-beta.6
|
|
// Project: https://github.com/gaearon/react-hot-loader
|
|
// Definitions by: Jacek Jagiello <https://github.com/jacekjagiello/>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
import * as React from "react"
|
|
|
|
declare module "react-hot-loader" {
|
|
|
|
interface ErrorReporterProps {
|
|
error: any
|
|
}
|
|
|
|
export interface AppContainerProps {
|
|
children?: React.ReactElement<any>,
|
|
errorReporter?: React.ComponentClass<ErrorReporterProps> | React.StatelessComponent<ErrorReporterProps>
|
|
}
|
|
|
|
export class AppContainer extends React.Component<AppContainerProps, {}> {}
|
|
}
|