chore(documentation): fix JSDoc number types

This commit is contained in:
Philipp Fromme
2020-04-06 10:25:03 +02:00
committed by fake-join[bot]
parent 7a67ff95b2
commit fcb11a60f7
7 changed files with 15 additions and 15 deletions

View File

@ -40,8 +40,8 @@ import {
*
* @param {Object} [options] configuration options to pass to the viewer
* @param {DOMElement} [options.container] the container to render the viewer in, defaults to body.
* @param {string|Number} [options.width] the width of the viewer
* @param {string|Number} [options.height] the height of the viewer
* @param {string|number} [options.width] the width of the viewer
* @param {string|number} [options.height] the height of the viewer
* @param {Object} [options.moddleExtensions] extension packages to provide
* @param {Array<didi.Module>} [options.modules] a list of modules to override the default modules
* @param {Array<didi.Module>} [options.additionalModules] a list of modules to use with the default modules
@ -433,7 +433,7 @@ BaseViewer.prototype.destroy = function() {
* Remove a previously added listener via {@link #off(event, callback)}.
*
* @param {string} event
* @param {Number} [priority]
* @param {number} [priority]
* @param {Function} callback
* @param {Object} [that]
*/