mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-31 11:07:32 +08:00
Merge pull request #25815 from wong2/patch-4
[http-assert] Update assert definition
This commit is contained in:
3
types/http-assert/index.d.ts
vendored
3
types/http-assert/index.d.ts
vendored
@@ -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