mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-22 20:39:17 +08:00
20 lines
554 B
TypeScript
20 lines
554 B
TypeScript
// Type definitions for empower
|
|
// Project: https://github.com/twada/empower
|
|
// Definitions by: vvakame <https://github.com/vvakame>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
declare function empower(originalAssert:any, formatter:any, options?:empower.Options):any;
|
|
|
|
declare namespace empower {
|
|
export interface Options {
|
|
destructive?: boolean;
|
|
modifyMessageOnRethrow?: boolean;
|
|
saveContextOnRethrow?: boolean;
|
|
patterns?: string[];
|
|
}
|
|
}
|
|
|
|
declare module "empower" {
|
|
export = empower;
|
|
}
|