@oliversalzburg/js-utils 0.0.28 → 0.0.29-dev.1

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.
@@ -6,4 +6,4 @@
6
6
  * @param console - The console to print errors to.
7
7
  * @returns A function that will print errors to the console.
8
8
  */
9
- export declare const redirectErrorsToConsole: (console: Console) => void;
9
+ export declare const redirectErrorsToConsole: (console: Console) => ((error: unknown) => void);
package/error/console.js CHANGED
@@ -8,6 +8,6 @@ export const redirectErrorsToConsole = (console) => {
8
8
  const printErrorsToConsole = (error) => {
9
9
  console.error(error);
10
10
  };
11
- return printErrorsToConsole(console);
11
+ return printErrorsToConsole;
12
12
  };
13
13
  //# sourceMappingURL=console.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"console.js","sourceRoot":"","sources":["../../source/error/console.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,OAAgB,EAAE,EAAE;IAC1D,MAAM,oBAAoB,GAAG,CAAC,KAAc,EAAQ,EAAE;QACpD,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;IACvB,CAAC,CAAC;IACF,OAAO,oBAAoB,CAAC,OAAO,CAAC,CAAC;AACvC,CAAC,CAAC"}
1
+ {"version":3,"file":"console.js","sourceRoot":"","sources":["../../source/error/console.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,OAAgB,EAA8B,EAAE;IACtF,MAAM,oBAAoB,GAAG,CAAC,KAAc,EAAQ,EAAE;QACpD,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;IACvB,CAAC,CAAC;IACF,OAAO,oBAAoB,CAAC;AAC9B,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@oliversalzburg/js-utils",
4
- "version": "0.0.28",
4
+ "version": "0.0.29-dev.1",
5
5
  "license": "MIT",
6
6
  "author": "Oliver Salzburg <oliver.salzburg@gmail.com>",
7
7
  "repository": {