@cornerstonejs/core 1.28.1 → 1.28.3

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@cornerstonejs/core",
3
- "version": "1.28.1",
3
+ "version": "1.28.3",
4
4
  "description": "",
5
5
  "main": "src/index.ts",
6
6
  "types": "dist/esm/index.d.ts",
@@ -46,5 +46,5 @@
46
46
  "type": "individual",
47
47
  "url": "https://ohif.org/donate"
48
48
  },
49
- "gitHead": "5a9e221773f68002c2514a0ed7ae87c5f89c81ad"
49
+ "gitHead": "6afa11385606812dd212aec3005e85c58665f982"
50
50
  }
package/src/Settings.ts CHANGED
@@ -13,7 +13,9 @@ const DICTIONARY = Symbol('Dictionary');
13
13
  export default class Settings {
14
14
  constructor(base?: Settings) {
15
15
  const dictionary = Object.create(
16
- base instanceof Settings && DICTIONARY in base ? base[DICTIONARY] : null
16
+ (base instanceof Settings && DICTIONARY in base
17
+ ? base[DICTIONARY]
18
+ : null) as object
17
19
  );
18
20
  Object.seal(
19
21
  Object.defineProperty(this, DICTIONARY, {