mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
18 lines
578 B
TypeScript
18 lines
578 B
TypeScript
// Type definitions for react-hot-loader 3.0
|
|
// 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"
|
|
|
|
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, {}> {}
|