Big replacement: bool with boolean

This commit is contained in:
Boris Yankov
2013-08-07 16:59:39 +03:00
parent bded8a8af5
commit dd35f69637
128 changed files with 4254 additions and 4240 deletions
+6 -6
View File
@@ -11,8 +11,8 @@ interface addressInterface {
interface Request {
header: (key: string, defaultValue?: string) => any;
accepts: (type: string) => bool;
is: (type: string) => bool;
accepts: (type: string) => boolean;
is: (type: string) => boolean;
getLogger: (component: string) => any;
contentLength: number;
contentType: string;
@@ -21,7 +21,7 @@ interface Request {
id: string;
path: () => string;
query: string;
secure: bool;
secure: boolean;
time: number;
params: any;
}
@@ -107,9 +107,9 @@ interface HttpClient extends Client {
interface ThrottleOptions {
burst?: number;
rate?: number;
ip?: bool;
xff?: bool;
username?: bool;
ip?: boolean;
xff?: boolean;
username?: boolean;
tokensTable?: Object;
maxKeys?: number;
overrides?: Object;