@iobroker/types 5.0.3 → 5.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.
package/build/shared.d.ts CHANGED
@@ -439,7 +439,7 @@ declare global {
439
439
  createdAt?: number;
440
440
  }
441
441
  type ReadDirCallback = (err?: NodeJS.ErrnoException | null, entries?: ReadDirResult[]) => void;
442
- type ReadDirPromise = Promise<NonNullCallbackReturnTypeOf<ReadDirCallback>>;
442
+ type ReadDirPromise = Promise<ReadDirResult[]>;
443
443
 
444
444
  type ReadFileCallback = (err?: NodeJS.ErrnoException | null, data?: Buffer | string, mimeType?: string) => void;
445
445
  type ReadFilePromise = Promise<{ file: string | Buffer; mimeType?: string }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iobroker/types",
3
- "version": "5.0.3",
3
+ "version": "5.0.4",
4
4
  "engines": {
5
5
  "node": ">=12.0.0"
6
6
  },
@@ -41,5 +41,5 @@
41
41
  ]
42
42
  }
43
43
  },
44
- "gitHead": "ac8847e45c42c3598e29ff45bde97773ed729b1a"
44
+ "gitHead": "c0947920a708a415f98559e4e138f75a66ce3be4"
45
45
  }