mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
Code review fixes
This commit is contained in:
parent
67838c10aa
commit
3561e140bd
23
react-hot-loader/index.d.ts
vendored
23
react-hot-loader/index.d.ts
vendored
@ -1,20 +1,17 @@
|
||||
// Type definitions for react-hot-loader 3.0.0-beta.6
|
||||
// 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"
|
||||
|
||||
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, {}> {}
|
||||
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, {}> {}
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
"module": "commonjs",
|
||||
"target": "es6",
|
||||
"noImplicitAny": true,
|
||||
"strictNullChecks": false,
|
||||
"strictNullChecks": true,
|
||||
"baseUrl": "../",
|
||||
"jsx": "react",
|
||||
"typeRoots": [
|
||||
|
||||
Loading…
Reference in New Issue
Block a user