Skip to content

Commit

Permalink
Update JSDoc for optional options
Browse files Browse the repository at this point in the history
Fixes #11623 and fixes #11624
  • Loading branch information
angrycat9000 committed Nov 13, 2023
1 parent 003922b commit 50b6241
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/engine/Source/Scene/Cesium3DTileset.js
Original file line number Diff line number Diff line change
Expand Up @@ -1902,7 +1902,7 @@ Object.defineProperties(Cesium3DTileset.prototype, {
* used for streaming massive heterogeneous 3D geospatial datasets, from a Cesium ion asset ID.
*
* @param {number} assetId The Cesium ion asset id.
* @param {Cesium3DTileset.ConstructorOptions} options An object describing initialization options
* @param {Cesium3DTileset.ConstructorOptions} [options] An object describing initialization options
* @returns {Promise<Cesium3DTileset>}
*
* @exception {DeveloperError} The tileset must be 3D Tiles version 0.0 or 1.0.
Expand Down
2 changes: 1 addition & 1 deletion packages/engine/Source/Scene/IonImageryProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ Object.defineProperties(IonImageryProvider.prototype, {
* Creates a provider for tiled imagery using the Cesium ion REST API.
*
* @param {Number} assetId An ion imagery asset ID.
* @param {IonImageryProvider.ConstructorOptions} options Object describing initialization options.
* @param {IonImageryProvider.ConstructorOptions} [options] Object describing initialization options.
* @returns {Promise<IonImageryProvider>} A promise which resolves to the created IonImageryProvider.
*
* @example
Expand Down

0 comments on commit 50b6241

Please sign in to comment.