Skip to content

Commit 36062e1

Browse files
Merge pull request #457 from bkuster/fix-getTileOrStripType
fix: getTileOrStrip return type
2 parents 890d7e3 + 674e469 commit 36062e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/geotiffimage.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ class GeoTIFFImage {
360360
* @param {import("./geotiff").Pool|import("./geotiff").BaseDecoder} poolOrDecoder the decoder or decoder pool
361361
* @param {AbortSignal} [signal] An AbortSignal that may be signalled if the request is
362362
* to be aborted
363-
* @returns {Promise.<ArrayBuffer>}
363+
* @returns {Promise.<{x: number, y: number, sample: number, data: ArrayBuffer}>} the decoded strip or tile
364364
*/
365365
async getTileOrStrip(x, y, sample, poolOrDecoder, signal) {
366366
const numTilesPerRow = Math.ceil(this.getWidth() / this.getTileWidth());

0 commit comments

Comments
 (0)