merge-options 3.0.3 → 3.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/index.d.ts +2 -1
  2. package/package.json +6 -2
package/index.d.ts CHANGED
@@ -1 +1,2 @@
1
- export default function (...options: any[]): any;
1
+ declare function mergeOptions(...options: any[]): any;
2
+ export = mergeOptions;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "merge-options",
3
- "version": "3.0.3",
3
+ "version": "3.0.4",
4
4
  "description": "Merge Option Objects",
5
5
  "license": "MIT",
6
6
  "repository": "schnittstabil/merge-options",
@@ -12,7 +12,10 @@
12
12
  "node": ">=10"
13
13
  },
14
14
  "scripts": {
15
- "test": "xo && nyc ava",
15
+ "test": "xo && tsd && nyc ava",
16
+ "lint": "xo",
17
+ "unit": "ava",
18
+ "typecheck": "tsd",
16
19
  "clean": "rimraf .nyc_output/ coverage/",
17
20
  "coverage-html": "nyc ava && nyc report --reporter=html"
18
21
  },
@@ -40,6 +43,7 @@
40
43
  "coveralls": "^3.1.0",
41
44
  "nyc": "^15.1.0",
42
45
  "rimraf": "^3.0.2",
46
+ "tsd": "^0.13.1",
43
47
  "xo": "^0.33.0"
44
48
  },
45
49
  "dependencies": {