Add ': void' to non returning functions (error TS7014)
This commit is contained in:
@@ -122,7 +122,7 @@ import Stroke from './Stroke.js';
|
||||
* 1. The pixel coordinates of the geometry in GeoJSON notation.
|
||||
* 2. The {@link module:ol/render~State} of the layer renderer.
|
||||
*
|
||||
* @typedef {function((import("../coordinate.js").Coordinate|Array<import("../coordinate.js").Coordinate>|Array<Array<import("../coordinate.js").Coordinate>>),import("../render.js").State)}
|
||||
* @typedef {function((import("../coordinate.js").Coordinate|Array<import("../coordinate.js").Coordinate>|Array<Array<import("../coordinate.js").Coordinate>>),import("../render.js").State): void}
|
||||
* RenderFunction
|
||||
*/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user