Skip to content

Commit

Permalink
Import DataSource 01 Restructuring - Fix build issue
Browse files Browse the repository at this point in the history
  • Loading branch information
adube committed Oct 16, 2017
1 parent 8e6e627 commit 4984aa0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions contribs/gmf/src/datasource/datasourceshelper.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ gmf.datasource.DataSourcesHelper = class {
this.collection_;

/**
* @type {Object.<number, gmf.datasource.DataSource>}
* @type {Object.<number, gmf.datasource.OGC>}
* @protected
*/
this.cache_;
Expand All @@ -72,11 +72,11 @@ gmf.datasource.DataSourcesHelper = class {
/**
* Return a data source using its id.
* @param {number} id Data source id.
* @return {?gmf.datasource.DataSource} Data source.
* @return {?gmf.datasource.OGC} Data source.
* @export
*/
getDataSource(id) {
return /** @type {?gmf.datasource.DataSource} */ (
return /** @type {?gmf.datasource.OGC} */ (
this.ngeoDataSourcesHelper_.getDataSource(id)
);
}
Expand Down Expand Up @@ -135,6 +135,6 @@ gmf.module.service('gmfDataSourcesHelper', gmf.datasource.DataSourcesHelper);


/**
* @typedef {ol.Collection.<gmf.datasource.DataSource>}
* @typedef {ol.Collection.<gmf.datasource.OGC>}
*/
gmf.datasource.DataSources;

0 comments on commit 4984aa0

Please sign in to comment.