mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 06:47:03 +00:00
Merge pull request #25815 from wong2/patch-4
[http-assert] Update assert definition
This commit is contained in:
Vendored
+2
-1
@@ -1,4 +1,4 @@
|
||||
// Type definitions for http-assert 1.2
|
||||
// Type definitions for http-assert 1.3
|
||||
// Project: https://github.com/jshttp/http-assert
|
||||
// Definitions by: jKey Lu <https://github.com/jkeylu>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
@@ -10,6 +10,7 @@
|
||||
* @param opts custom properties to attach to the error object
|
||||
*/
|
||||
declare function assert(value: any, status?: number, msg?: string, opts?: {}): void;
|
||||
declare function assert(value: any, status?: number, opts?: {}): void;
|
||||
|
||||
declare namespace assert {
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user