refactor(abstract): Use abstract keyword where possible to decrease file size. (#14112)

PR Close: #14112
This commit is contained in:
Misko Hevery
2017-01-25 22:32:32 -08:00
committed by Miško Hevery
parent 827c3fe199
commit d339d8b81d
11 changed files with 43 additions and 62 deletions

View File

@ -10,7 +10,6 @@ import {AnimationKeyframe} from '../../src/animation/animation_keyframe';
import {AnimationPlayer} from '../../src/animation/animation_player';
import {AnimationStyles} from '../../src/animation/animation_styles';
import {Injector} from '../di/injector';
import {unimplemented} from '../facade/errors';
import {ViewEncapsulation} from '../metadata/view';
/**
@ -25,12 +24,12 @@ export class RenderComponentType {
}
export abstract class RenderDebugInfo {
get injector(): Injector { return unimplemented(); }
get component(): any { return unimplemented(); }
get providerTokens(): any[] { return unimplemented(); }
get references(): {[key: string]: any} { return unimplemented(); }
get context(): any { return unimplemented(); }
get source(): string { return unimplemented(); }
abstract get injector(): Injector;
abstract get component(): any;
abstract get providerTokens(): any[];
abstract get references(): {[key: string]: any};
abstract get context(): any;
abstract get source(): string;
}
export interface DirectRenderer {