mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-11-29 17:51:46 +00:00
Update http-assert assert definition
`assert` should support `assert(value, 500, { toast: 'custom error message' })`
This commit is contained in:
Vendored
+1
@@ -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