@ouroboros/browser 0.1.2 → 0.1.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 (3) hide show
  1. package/hash.d.ts +1 -1
  2. package/hash.ts +1 -1
  3. package/package.json +1 -1
package/hash.d.ts CHANGED
@@ -7,7 +7,7 @@
7
7
  * @copyright Ouroboros Coding Inc.
8
8
  * @created 2018-12-09
9
9
  */
10
- type Callback = (value: string | null) => {};
10
+ type Callback = (value: string | null) => void;
11
11
  /**
12
12
  * Init
13
13
  *
package/hash.ts CHANGED
@@ -12,7 +12,7 @@
12
12
  import { clone, empty, isObject, parseQuery } from '@ouroboros/tools';
13
13
 
14
14
  // Callback type
15
- type Callback = (value: string | null) => {};
15
+ type Callback = (value: string | null) => void;
16
16
 
17
17
  // name regex
18
18
  const nameRE = /^[a-zA-Z_]+$/;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ouroboros/browser",
3
- "version": "0.1.2",
3
+ "version": "0.1.4",
4
4
  "description": "Package to handle common browser functionality.",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",