From 68f519b4fee27028a73cebb98f60d78469ddea55 Mon Sep 17 00:00:00 2001 From: whewchews <111553718+whewchews@users.noreply.github.com> Date: Thu, 14 Nov 2024 09:03:01 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=A4=96=20Merge=20PR=20#71167=20[@types/dx?= =?UTF-8?q?f]=20Update=20toPolylines=20return=20type=20by=20@whewchews?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- types/dxf/Helper.d.ts | 2 +- types/dxf/dxf-tests.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/types/dxf/Helper.d.ts b/types/dxf/Helper.d.ts index 6d7c08ba96d856..ffb034d9837c0c 100644 --- a/types/dxf/Helper.d.ts +++ b/types/dxf/Helper.d.ts @@ -18,7 +18,7 @@ export default class Helper { denormalise(): Entities.Entity[] | null; group(): Entities.LayerGroupedEntities | null; toSVG(): Information.SVG; - toPolylines(): Information.Polyline[]; + toPolylines(): PolylineExport; } export function parseValue(type: number, value: any): number; diff --git a/types/dxf/dxf-tests.ts b/types/dxf/dxf-tests.ts index 88d9705a071a34..bf87258f31cff8 100644 --- a/types/dxf/dxf-tests.ts +++ b/types/dxf/dxf-tests.ts @@ -14,7 +14,7 @@ helper.denormalised; // $ExpectType string helper.toSVG(); -// $ExpectType Polyline[] +// $ExpectType PolylineExport helper.toPolylines(); const { entities } = helper.parsed!;