diff --git a/packages/inferno/src/core/component.ts b/packages/inferno/src/core/component.ts index a51fb3bb4..813c177a0 100644 --- a/packages/inferno/src/core/component.ts +++ b/packages/inferno/src/core/component.ts @@ -189,8 +189,6 @@ export type SFC
= StatelessComponent
; export interface StatelessComponent
{ (props: P & { children?: InfernoChildren }, context?: any): VNode
| null; - propTypes?: ValidationMap
;
- contextTypes?: ValidationMap ;
displayName?: string;
}
diff --git a/packages/inferno/src/index.ts b/packages/inferno/src/index.ts
index 0abbbbd43..8ec8ebda9 100644
--- a/packages/inferno/src/index.ts
+++ b/packages/inferno/src/index.ts
@@ -26,6 +26,9 @@ import {
import { getNumberStyleValue } from './DOM/props';
import { hydrate } from './DOM/hydration';
+import * as JSX from "./JSX";
+
+
if (process.env.NODE_ENV !== 'production') {
/* tslint:disable-next-line:no-empty */
const testFunc = function testFn() {};
@@ -67,5 +70,6 @@ export {
normalizeProps,
options,
render,
- version
+ version,
+ JSX
};