construct-new 2.0.3 → 2.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 +3 -1
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -5,4 +5,6 @@ type ConstructOptions = {
5
5
  callback: () => void
6
6
  }
7
7
 
8
- export default function construct(options: ConstructOptions): any
8
+ function construct(options: ConstructOptions): any
9
+
10
+ export = construct
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "construct-new",
3
- "version": "2.0.3",
3
+ "version": "2.0.4",
4
4
  "description": "Like the new operator, but a function.",
5
5
  "main": "index.js",
6
6
  "scripts": {},