@sidex/types 0.0.2 → 0.0.4

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.
Files changed (2) hide show
  1. package/package.json +2 -1
  2. package/src/builtins.ts +1 -1
package/package.json CHANGED
@@ -2,9 +2,10 @@
2
2
  "name": "@sidex/types",
3
3
  "author": "Silitics GmbH <info@silitics.com>",
4
4
  "license": "(MIT or Apache-2.0)",
5
- "version": "0.0.2",
5
+ "version": "0.0.4",
6
6
  "description": "",
7
7
  "main": "src/index.ts",
8
+ "types": "./src/index.ts",
8
9
  "keywords": [],
9
10
  "devDependencies": {
10
11
  "typescript": "^4.8.4"
package/src/builtins.ts CHANGED
@@ -257,7 +257,7 @@ export function entries<K, V>(map: AnyMap<K, V>): [K, V][] {
257
257
  if (Array.isArray(map)) {
258
258
  return map
259
259
  } else {
260
- return Object.entries(map) as [K, V][]
260
+ return Object.entries(map) as unknown as [K, V][]
261
261
  }
262
262
  }
263
263