@carbonorm/carbonreact 4.0.7 → 4.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
package/src/CarbonReact.tsx
CHANGED
|
@@ -62,7 +62,7 @@ abstract class CarbonReact<P = {}, S extends iCarbonReactState = iCarbonReactSta
|
|
|
62
62
|
|
|
63
63
|
protected target: typeof CarbonReact;
|
|
64
64
|
|
|
65
|
-
protected static _instance: CarbonReact<any, any
|
|
65
|
+
protected static _instance: ThisType<CarbonReact<any, any>>;
|
|
66
66
|
|
|
67
67
|
static getInstance<T extends CarbonReact<any, any>>(): T {
|
|
68
68
|
return this._instance as T;
|
|
@@ -286,7 +286,7 @@ export function initiateWebsocket<P,S extends iCarbonReactState>(props: iCarbonW
|
|
|
286
286
|
|
|
287
287
|
}
|
|
288
288
|
|
|
289
|
-
export default function <P,S extends
|
|
289
|
+
export default function <P,S extends iCarbonReactState>(props: iCarbonWebSocketProps<P,S>) {
|
|
290
290
|
|
|
291
291
|
useEffectOnce(() => {
|
|
292
292
|
|