refactor: remove unnecessary annotations
This commit is contained in:
parent
cb980d3e43
commit
4dbd8ed6b8
|
@ -6,7 +6,6 @@ import {EventEmitter, ObservableWrapper} from '../src/facade/async';
|
||||||
*/
|
*/
|
||||||
@Injectable()
|
@Injectable()
|
||||||
export class MockNgZone extends NgZone {
|
export class MockNgZone extends NgZone {
|
||||||
/** @internal */
|
|
||||||
private _mockOnStable: EventEmitter<any> = new EventEmitter(false);
|
private _mockOnStable: EventEmitter<any> = new EventEmitter(false);
|
||||||
|
|
||||||
constructor() { super({enableLongStackTrace: false}); }
|
constructor() { super({enableLongStackTrace: false}); }
|
||||||
|
|
|
@ -212,7 +212,6 @@ export class SpyObject {
|
||||||
return object;
|
return object;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @internal */
|
|
||||||
_createGuinnessCompatibleSpy(name): GuinessCompatibleSpy {
|
_createGuinnessCompatibleSpy(name): GuinessCompatibleSpy {
|
||||||
var newSpy: GuinessCompatibleSpy = <any>jasmine.createSpy(name);
|
var newSpy: GuinessCompatibleSpy = <any>jasmine.createSpy(name);
|
||||||
newSpy.andCallFake = <any>newSpy.and.callFake;
|
newSpy.andCallFake = <any>newSpy.and.callFake;
|
||||||
|
|
|
@ -20,7 +20,7 @@ export abstract class ClientMessageBrokerFactory {
|
||||||
@Injectable()
|
@Injectable()
|
||||||
export class ClientMessageBrokerFactory_ extends ClientMessageBrokerFactory {
|
export class ClientMessageBrokerFactory_ extends ClientMessageBrokerFactory {
|
||||||
/** @internal */
|
/** @internal */
|
||||||
public _serializer: Serializer;
|
_serializer: Serializer;
|
||||||
constructor(private _messageBus: MessageBus, _serializer: Serializer) {
|
constructor(private _messageBus: MessageBus, _serializer: Serializer) {
|
||||||
super();
|
super();
|
||||||
this._serializer = _serializer;
|
this._serializer = _serializer;
|
||||||
|
|
|
@ -15,7 +15,7 @@ export abstract class ServiceMessageBrokerFactory {
|
||||||
@Injectable()
|
@Injectable()
|
||||||
export class ServiceMessageBrokerFactory_ extends ServiceMessageBrokerFactory {
|
export class ServiceMessageBrokerFactory_ extends ServiceMessageBrokerFactory {
|
||||||
/** @internal */
|
/** @internal */
|
||||||
public _serializer: Serializer;
|
_serializer: Serializer;
|
||||||
|
|
||||||
constructor(private _messageBus: MessageBus, _serializer: Serializer) {
|
constructor(private _messageBus: MessageBus, _serializer: Serializer) {
|
||||||
super();
|
super();
|
||||||
|
|
Loading…
Reference in New Issue