You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CesiumJS using jsdoc to get better experience, such as API documents.
Currently, CesiumJS uses JavaScript built-in object types in jsdoc, such as String, Number, etc. But now whether it is jsdoc or the front-end popular practice, primitive types are widely used, I mean use string instead of String, and so on.
eg. :
/**
* Asynchronously transitions the scene to Columbus View.
- * @param {Number} [duration=2.0] The amount of time, in seconds, for transition animations to complete.+ * @param {number} [duration=2.0] The amount of time, in seconds, for transition animations to complete.
*/
Scene.prototype.morphToColumbusView = function (duration) {
// ..
}
So is it possible to do a replacement, or what is the reason for not replacing it so far? Thanks.
The text was updated successfully, but these errors were encountered:
CesiumJS using jsdoc to get better experience, such as API documents.
Currently, CesiumJS uses JavaScript built-in object types in jsdoc, such as
String
,Number
, etc. But now whether it is jsdoc or the front-end popular practice, primitive types are widely used, I mean usestring
instead ofString
, and so on.eg. :
So is it possible to do a replacement, or what is the reason for not replacing it so far? Thanks.
The text was updated successfully, but these errors were encountered: