chore(ts): fix TODOs that were pending on 1.6 upgrade

Closes #4377
This commit is contained in:
Alex Eagle
2015-09-25 14:48:17 -07:00
committed by Alex Eagle
parent 8ff65a30c7
commit b4fe590b2d
25 changed files with 165 additions and 190 deletions

View File

@ -11,15 +11,15 @@ import {URLSearchParams} from './url_search_params';
* The primary purpose of a `ConnectionBackend` is to create new connections to fulfill a given
* {@link Request}.
*/
export class ConnectionBackend {
export abstract class ConnectionBackend {
constructor() {}
createConnection(request: any): Connection { throw new BaseException('Abstract!'); }
abstract createConnection(request: any): Connection;
}
/**
* Abstract class from which real connections are derived.
*/
export class Connection {
export abstract class Connection {
readyState: ReadyStates;
request: Request;
response: EventEmitter; // TODO: generic of <Response>;