mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
apply code formatter
This commit is contained in:
parent
f399dcd26a
commit
aeb7701fbe
@ -1,13 +1,13 @@
|
||||
/// <reference path="./empower.d.ts" />
|
||||
|
||||
var baseAssert: any;
|
||||
var fakeFormatter: any;
|
||||
var baseAssert:any;
|
||||
var fakeFormatter:any;
|
||||
|
||||
()=> {
|
||||
var assert = empower(baseAssert, fakeFormatter);
|
||||
};
|
||||
|
||||
var option: empower.Options = {
|
||||
var option:empower.Options = {
|
||||
modifyMessageOnRethrow: false,
|
||||
saveContextOnRethrow: false
|
||||
};
|
||||
|
||||
2
empower/empower.d.ts
vendored
2
empower/empower.d.ts
vendored
@ -3,7 +3,7 @@
|
||||
// Definitions by: vvakame <https://github.com/vvakame>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
declare function empower(originalAssert: any, formatter: any, options?: empower.Options): any;
|
||||
declare function empower(originalAssert:any, formatter:any, options?:empower.Options):any;
|
||||
|
||||
declare module empower {
|
||||
export interface Options {
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
// Definitions by: vvakame <https://github.com/vvakame>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
declare function powerAssertFormatter(options?: powerAssertFormatter.Options): powerAssertFormatter.Formatter;
|
||||
declare function powerAssertFormatter(options?:powerAssertFormatter.Options):powerAssertFormatter.Formatter;
|
||||
|
||||
declare module powerAssertFormatter {
|
||||
export interface Options {
|
||||
@ -22,8 +22,8 @@ declare module powerAssertFormatter {
|
||||
}
|
||||
|
||||
export interface Formatter {
|
||||
(powerAssertContext: any): string;
|
||||
(powerAssertContext:any): string;
|
||||
}
|
||||
|
||||
export function defaultOptions(): Options;
|
||||
export function defaultOptions():Options;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user