@gondel/plugin-react
Advanced tools
Comparing version 1.2.2 to 1.2.3
@@ -6,2 +6,13 @@ # Change Log | ||
## [1.2.3](https://github.com/namics/gondel/compare/v1.2.2...v1.2.3) (2020-03-09) | ||
### Bug Fixes | ||
* **react plugin:** export typescript interface for better ide support ([fa87524](https://github.com/namics/gondel/commit/fa875240eb64d76bdcbb3427d27b10f4323ffc31)) | ||
## [1.2.2](https://github.com/namics/gondel/compare/v1.2.1...v1.2.2) (2020-03-09) | ||
@@ -8,0 +19,0 @@ |
import React, { StatelessComponent, ComponentClass, ComponentLifecycle } from "react"; | ||
import { GondelBaseComponent } from "@gondel/core"; | ||
import { KeysMatching, UnwrapPromise } from "./utils"; | ||
export declare type RenderableReactComponent<State> = StatelessComponent<State> | ComponentClass<State, any>; | ||
declare type RenderableReactComponent<State> = StatelessComponent<State> | ComponentClass<State, any>; | ||
declare type StateOfComponent<T> = T extends RenderableReactComponent<infer V> ? V : never; | ||
interface ConstructableGondelReactComponent<State> { | ||
export interface ConstructableGondelReactComponent<State> { | ||
new (...args: any[]): GondelReactComponent<State>; | ||
@@ -8,0 +8,0 @@ } |
{ | ||
"name": "@gondel/plugin-react", | ||
"version": "1.2.2", | ||
"version": "1.2.3", | ||
"description": "Gondel Plugin to boot react widgets and apps", | ||
@@ -60,3 +60,3 @@ "bugs": "https://github.com/namics/gondel/issues", | ||
}, | ||
"gitHead": "d8a89b5c3e9c95c5ae6eebeafcfcdb9469cb3d2e" | ||
"gitHead": "bef490988a05b052d6461d8ef2275f784df4245b" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
70567
1251