Correct type for success callback
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user