refactor: remove unnecessary annotations

This commit is contained in:
Igor Minar 2016-05-25 13:35:30 -07:00
parent cb980d3e43
commit 4dbd8ed6b8
4 changed files with 2 additions and 4 deletions

View File

@ -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}); }

View File

@ -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;

View File

@ -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;

View File

@ -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();