Set api annotation on classdesc, not constructor

This commit is contained in:
ahocevar
2018-07-21 17:25:22 +02:00
parent 2767ddfdc7
commit bbe0a66d07
101 changed files with 484 additions and 382 deletions
+1 -2
View File
@@ -26,12 +26,11 @@ import {getUid} from '../util.js';
* Note that the defaults given are the Canvas defaults, which will be used if
* option is not defined. The `get` functions return whatever was entered in
* the options; they will not return the default.
* @api
*/
class Stroke {
/**
* @param {module:ol/style/Stroke~Options=} opt_options Options.
* @api
*/
constructor(opt_options) {