refactor: add types (#9116)
This commit is contained in:

committed by
Miško Hevery

parent
b60eecfc47
commit
7ce0fc7d47
@ -93,11 +93,9 @@ export class MockXHR extends XHR {
|
||||
}
|
||||
|
||||
class _PendingRequest {
|
||||
url: string;
|
||||
completer: PromiseCompleter<string>;
|
||||
|
||||
constructor(url: any /** TODO #9100 */) {
|
||||
this.url = url;
|
||||
constructor(public url: string) {
|
||||
this.completer = PromiseWrapper.completer();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user