From d0c2eaa7062ea3b76767afb4443e64d7e86a0dba Mon Sep 17 00:00:00 2001 From: lt25106 <11pro12ispro@gmail.com> Date: Sat, 11 Oct 2025 09:11:15 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=F0=9F=A4=96=20Merge=20PR=20#73812=20[leafl?= =?UTF-8?q?et]=20Make=20CircleMarkerOptions.radius=20optional=20by=20@lt25?= =?UTF-8?q?106?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- types/leaflet/index.d.ts | 2 +- types/leaflet/leaflet-tests.ts | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/types/leaflet/index.d.ts b/types/leaflet/index.d.ts index 03bff2ccd8adb8..8861fff8d2861f 100644 --- a/types/leaflet/index.d.ts +++ b/types/leaflet/index.d.ts @@ -2080,7 +2080,7 @@ export class Rectangle

extends Polygon

{ export function rectangle

(latLngBounds: LatLngBoundsExpression, options?: PolylineOptions): Rectangle

; export interface CircleMarkerOptions extends PathOptions { - radius: number; + radius?: number | undefined; } export class CircleMarker

extends Path { diff --git a/types/leaflet/leaflet-tests.ts b/types/leaflet/leaflet-tests.ts index 895f08e6dc3e04..7f2db3cb8e2441 100644 --- a/types/leaflet/leaflet-tests.ts +++ b/types/leaflet/leaflet-tests.ts @@ -1009,17 +1009,16 @@ let circle = new L.Circle(latLng, 10); circle = new L.Circle(latLng, { radius: 10 }); // @ts-expect-error circle = new L.Circle(latLng, { radius: "10" }); -// @ts-expect-error circle = new L.Circle(latLng, { radius: undefined }); // @ts-expect-error circle = new L.Circle(latLng, { radius: null }); -// @ts-expect-error circle = new L.Circle(latLng, {}); // @ts-expect-error circle = new L.Circle(latLng); let circleMarker = new L.CircleMarker(latLng, { radius: 10 }).setStyle({}); circleMarker = new L.CircleMarker(latLng, { radius: 10 }).setStyle({ radius: 10 }); +circleMarker = new L.CircleMarker(latLng, { color: "red" }); // @ts-expect-error circleMarker = new L.CircleMarker(latLng, { radius: 10 }).setStyle(); From f68d60f8153d505be7656a76a764c023cd4b5c9d Mon Sep 17 00:00:00 2001 From: imfulee <40764288+imfulee@users.noreply.github.com> Date: Sat, 11 Oct 2025 10:44:03 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=F0=9F=A4=96=20Merge=20PR=20#73855=20fix(fo?= =?UTF-8?q?rmidable):=20`FormidableError`=20class=20has=20property=20`code?= =?UTF-8?q?`=20and=20not=20`internalCode`=20by=20@imfulee?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- types/formidable/FormidableError.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/formidable/FormidableError.d.ts b/types/formidable/FormidableError.d.ts index 3931e8b662e6e1..7ceb1ad5d006bb 100644 --- a/types/formidable/FormidableError.d.ts +++ b/types/formidable/FormidableError.d.ts @@ -1,5 +1,5 @@ declare class FormidableError extends Error { - internalCode: number; + code: number; httpCode?: number | undefined; constructor(message: string, internalCode: number, httpCode?: number); } From 14116236a46effc4cf8dbca31468fa86704858a9 Mon Sep 17 00:00:00 2001 From: Jimmy Leung <43258070+hkleungai@users.noreply.github.com> Date: Sat, 11 Oct 2025 12:45:40 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=F0=9F=A4=96=20Merge=20PR=20#73872=20fix(cy?= =?UTF-8?q?toscape-d3-force):=20change=20from=20@types/cytoscape=20to=20ju?= =?UTF-8?q?st=20cytoscape=20by=20@hkleungai?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- types/cytoscape-d3-force/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/cytoscape-d3-force/package.json b/types/cytoscape-d3-force/package.json index 1b06c5c0d6df3e..20a3e6f1d42318 100644 --- a/types/cytoscape-d3-force/package.json +++ b/types/cytoscape-d3-force/package.json @@ -6,7 +6,7 @@ "https://github.com/shichuanpo/cytoscape.js-d3-force" ], "dependencies": { - "@types/cytoscape": "^3.0.9" + "cytoscape": "^3.31" }, "devDependencies": { "@types/cytoscape-d3-force": "workspace:."