make-error
Advanced tools
Comparing version
@@ -25,7 +25,7 @@ /** | ||
constructor(message: string); | ||
constructor(message?: string); | ||
} | ||
export interface Constructor <T> { | ||
new (message: string): T | ||
new (message?: string): T | ||
super_: any | ||
@@ -32,0 +32,0 @@ prototype: T |
{ | ||
"name": "make-error", | ||
"version": "1.2.2", | ||
"version": "1.2.3", | ||
"license": "ISC", | ||
@@ -5,0 +5,0 @@ "description": "Make your own error types!", |
@@ -34,3 +34,3 @@ # make-error [](http://travis-ci.org/JsCommunity/make-error) | ||
```html | ||
<script src="https://unpkg.com/make-error@1.2.1/dist/make-error.js"></script> | ||
<script src="https://unpkg.com/make-error@1/dist/make-error.js"></script> | ||
``` | ||
@@ -37,0 +37,0 @@ |
10203
-0.02%