apply code formatter

This commit is contained in:
vvakame 2014-11-14 00:22:32 +09:00
parent f399dcd26a
commit aeb7701fbe
3 changed files with 7 additions and 7 deletions

View File

@ -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
};

View File

@ -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 {

View File

@ -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;
}