chore: remove int in favor for number

Closes #3511
This commit is contained in:
Misko Hevery
2015-08-20 16:25:34 -07:00
parent 8336881a85
commit b986c54079
22 changed files with 95 additions and 93 deletions
+1 -1
View File
@@ -51,7 +51,7 @@ export enum RequestMethods {
export class RequestMethodsMap {
private _methods: List<string>;
constructor() { this._methods = ['GET', 'POST', 'PUT', 'DELETE', 'OPTIONS', 'HEAD', 'PATCH']; }
getMethod(method: int): string { return this._methods[method]; }
getMethod(method: number): string { return this._methods[method]; }
}
/**
* All possible states in which a connection can be, based on