diff --git a/package-lock.json b/package-lock.json index c360d696b8..6e9b024cac 100644 --- a/package-lock.json +++ b/package-lock.json @@ -121,7 +121,7 @@ "ts-jest": "^29.1.1", "ts-node": "^10.9.2", "tslib": "^2.6.2", - "typedoc": "^0.25.4", + "typedoc": "^0.25.7", "typedoc-plugin-markdown": "^3.17.1", "typedoc-plugin-missing-exports": "^2.1.0", "typescript": "^5.3.3", @@ -3435,9 +3435,9 @@ } }, "node_modules/ansi-sequence-parser": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/ansi-sequence-parser/-/ansi-sequence-parser-1.1.0.tgz", - "integrity": "sha512-lEm8mt52to2fT8GhciPCGeCXACSz2UwIN4X2e2LJSnZ5uAbn2/dsYdOmUXq0AtWS5cpAupysIneExOgH0Vd2TQ==", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/ansi-sequence-parser/-/ansi-sequence-parser-1.1.1.tgz", + "integrity": "sha512-vJXt3yiaUL4UU546s3rPXlsry/RnM730G1+HkpKE012AN0sx1eOrxSu95oKDIonskeLTijMgqWZ3uDEe3NFvyg==", "dev": true }, "node_modules/ansi-styles": { @@ -11800,9 +11800,9 @@ "license": "MIT" }, "node_modules/shiki": { - "version": "0.14.2", - "resolved": "https://registry.npmjs.org/shiki/-/shiki-0.14.2.tgz", - "integrity": "sha512-ltSZlSLOuSY0M0Y75KA+ieRaZ0Trf5Wl3gutE7jzLuIcWxLp5i/uEnLoQWNvgKXQ5OMpGkJnVMRLAuzjc0LJ2A==", + "version": "0.14.7", + "resolved": "https://registry.npmjs.org/shiki/-/shiki-0.14.7.tgz", + "integrity": "sha512-dNPAPrxSc87ua2sKJ3H5dQ/6ZaY8RNnaAqK+t0eG7p0Soi2ydiqbGOTaZCqaYvA/uZYfS1LJnemt3Q+mSfcPCg==", "dev": true, "dependencies": { "ansi-sequence-parser": "^1.1.0", @@ -13446,15 +13446,15 @@ } }, "node_modules/typedoc": { - "version": "0.25.4", - "resolved": "https://registry.npmjs.org/typedoc/-/typedoc-0.25.4.tgz", - "integrity": "sha512-Du9ImmpBCw54bX275yJrxPVnjdIyJO/84co0/L9mwe0R3G4FSR6rQ09AlXVRvZEGMUg09+z/usc8mgygQ1aidA==", + "version": "0.25.7", + "resolved": "https://registry.npmjs.org/typedoc/-/typedoc-0.25.7.tgz", + "integrity": "sha512-m6A6JjQRg39p2ZVRIN3NKXgrN8vzlHhOS+r9ymUYtcUP/TIQPvWSq7YgE5ZjASfv5Vd5BW5xrir6Gm2XNNcOow==", "dev": true, "dependencies": { "lunr": "^2.3.9", "marked": "^4.3.0", "minimatch": "^9.0.3", - "shiki": "^0.14.1" + "shiki": "^0.14.7" }, "bin": { "typedoc": "bin/typedoc" diff --git a/package.json b/package.json index bd90a0b2f3..429f1aae00 100644 --- a/package.json +++ b/package.json @@ -125,7 +125,7 @@ "ts-jest": "^29.1.1", "ts-node": "^10.9.2", "tslib": "^2.6.2", - "typedoc": "^0.25.4", + "typedoc": "^0.25.7", "typedoc-plugin-markdown": "^3.17.1", "typedoc-plugin-missing-exports": "^2.1.0", "typescript": "^5.3.3", diff --git a/src/index.ts b/src/index.ts index 6422444776..dfca73bcce 100644 --- a/src/index.ts +++ b/src/index.ts @@ -224,8 +224,8 @@ class MapLibreGL { * Adds a [custom source type](#Custom Sources), making it available for use with * {@link Map#addSource}. * @param name - The name of the source type; source definition objects use this name in the `{type: ...}` field. - * @param SourceType - A {@link SourceClass} - which is a constructor for the {@link Source} interface. - * @returns a promise that is resolved when the source type is ready or with an error argument if there is an error. + * @param sourceType - A {@link SourceClass} - which is a constructor for the `Source` interface. + * @returns a promise that is resolved when the source type is ready or rejected with an error. */ static addSourceType = (name: string, sourceType: SourceClass) => addSourceType(name, sourceType); diff --git a/src/source/geojson_source.ts b/src/source/geojson_source.ts index c7da0bb5ac..bf0bd54dce 100644 --- a/src/source/geojson_source.ts +++ b/src/source/geojson_source.ts @@ -254,7 +254,6 @@ export class GeoJSONSource extends Evented implements Source { * For clustered sources, fetches the zoom at which the given cluster expands. * * @param clusterId - The value of the cluster's `cluster_id` property. - * @param callback - A callback to be called when the zoom value is retrieved (`(error, zoom) => { ... }`). * @returns a promise that is resolved with the zoom number */ getClusterExpansionZoom(clusterId: number): Promise { diff --git a/src/ui/camera.ts b/src/ui/camera.ts index 0631b11498..39d8b87fdb 100644 --- a/src/ui/camera.ts +++ b/src/ui/camera.ts @@ -742,7 +742,7 @@ export abstract class Camera extends Evented { * * @param bounds - Center these bounds in the viewport and use the highest * zoom level up to and including `Map#getMaxZoom()` that fits them in the viewport. - * @param options- Options supports all properties from {@link AnimationOptions} and {@link CameraOptions} in addition to the fields below. + * @param options - Options supports all properties from {@link AnimationOptions} and {@link CameraOptions} in addition to the fields below. * @param eventData - Additional properties to be added to event objects of events triggered by this method. * @returns `this` * @example diff --git a/src/util/actor.ts b/src/util/actor.ts index 5cf50983ab..6230554ac6 100644 --- a/src/util/actor.ts +++ b/src/util/actor.ts @@ -64,7 +64,6 @@ export class Actor implements IActor { /** * @param target - The target - * @param parent - The parent * @param mapId - A unique identifier for the Map instance using this Actor. */ constructor(target: ActorTarget, mapId?: string | number) {