chore(tsickle): remove redundant jsdoc types

tsickle doesn't like them, and anyway they are bound to get out-of-sync with the inline TS types
This commit is contained in:
Alex Eagle
2016-05-09 15:44:40 -07:00
committed by Martin Probst
parent cf73ad7c8f
commit 9e3df8eefe
6 changed files with 14 additions and 75 deletions

View File

@ -19,9 +19,6 @@ export class MockViewResolver extends ViewResolver {
/**
* Overrides the {@link ViewMetadata} for a component.
*
* @param {Type} component
* @param {ViewDefinition} view
*/
setView(component: Type, view: ViewMetadata): void {
this._checkOverrideable(component);
@ -30,9 +27,6 @@ export class MockViewResolver extends ViewResolver {
/**
* Overrides the inline template for a component - other configuration remains unchanged.
*
* @param {Type} component
* @param {string} template
*/
setInlineTemplate(component: Type, template: string): void {
this._checkOverrideable(component);
@ -41,10 +35,6 @@ export class MockViewResolver extends ViewResolver {
/**
* Overrides a directive from the component {@link ViewMetadata}.
*
* @param {Type} component
* @param {Type} from
* @param {Type} to
*/
overrideViewDirective(component: Type, from: Type, to: Type): void {
this._checkOverrideable(component);
@ -66,9 +56,6 @@ export class MockViewResolver extends ViewResolver {
* see `setView`.
* - Override the directives, see `overrideViewDirective`.
* - Override the @View definition, see `setInlineTemplate`.
*
* @param component
* @returns {ViewDefinition}
*/
resolve(component: Type): ViewMetadata {
var view = this._viewCache.get(component);
@ -113,8 +100,6 @@ export class MockViewResolver extends ViewResolver {
*
* Then it should not be possible to override the component configuration after the component
* has been compiled.
*
* @param {Type} component
*/
_checkOverrideable(component: Type): void {
var cached = this._viewCache.get(component);