Fix type annotations

This commit is contained in:
Andreas Hocevar
2018-01-26 00:06:50 +01:00
parent 3d817ff7e7
commit 2c718db797
12 changed files with 46 additions and 32 deletions

View File

@@ -6,9 +6,10 @@ import webgl from './webgl.js';
/**
* Include debuggable shader sources. Default is `true`. This should be set to
* `false` for production builds.
* TODO: move to a separate ol-webgl package
* @type {boolean} Include debuggable shader sources. Default is `true`.
* This should be set to `false` for production builds.
* @type {boolean}
*/
export const DEBUG_WEBGL = true;
@@ -60,7 +61,8 @@ export {HAS_WEBGL, WEBGL_MAX_TEXTURE_SIZE, WEBGL_EXTENSIONS};
/**
* @type {string} OpenLayers version.
* OpenLayers version.
* @type {string}
*/
export const VERSION = 'v4.6.4';