@isrd-isi-edu/ermrestjs 2.7.0 → 2.9.0

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.
@@ -87,3 +87,10 @@ export function verify(test: any, message: string) {
87
87
  throw new InvalidInputError(message);
88
88
  }
89
89
  }
90
+
91
+ /**
92
+ * check if the value is a valid visible cell height (i.e. a positive number or false)
93
+ */
94
+ export function isValidVisibleCellHeight(value: unknown) {
95
+ return (typeof value === 'number' && value > 0) || value === false;
96
+ }
package/tsconfig.json CHANGED
@@ -9,9 +9,8 @@
9
9
  /* Bundler mode */
10
10
  "moduleResolution": "bundler",
11
11
  "allowImportingTsExtensions": true,
12
- "baseUrl": "./",
13
12
  "paths": {
14
- "@isrd-isi-edu/ermrestjs/*": ["*"]
13
+ "@isrd-isi-edu/ermrestjs/*": ["./*"]
15
14
  },
16
15
 
17
16
  "allowJs": true,