@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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@carbonorm/carbonreact",
3
3
  "license": "MIT",
4
- "version": "4.0.7",
4
+ "version": "4.0.9",
5
5
  "browser": "dist/index.umd.js",
6
6
  "module": "dist/index.esm.js",
7
7
  "main": "dist/index.cjs.js",
@@ -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 Partial<iCarbonReactState>>(props: iCarbonWebSocketProps<P,S>) {
289
+ export default function <P,S extends iCarbonReactState>(props: iCarbonWebSocketProps<P,S>) {
290
290
 
291
291
  useEffectOnce(() => {
292
292