Correct type for success callback

This commit is contained in:
Tim Schaub
2021-05-31 14:24:41 -06:00
parent 824d2b0131
commit f61c502700

View File

@@ -136,7 +136,7 @@ export function xhr(url, format) {
* @param {import("./extent.js").Extent} extent Extent.
* @param {number} resolution Resolution.
* @param {import("./proj/Projection.js").default} projection Projection.
* @param {function(): void} [success] Success
* @param {function(Array<import("./Feature.js").default>): void} [success] Success
* Function called when loading succeeded.
* @param {function(): void} [failure] Failure
* Function called when loading failed.