Skip to content

Commit

Permalink
🤖 Merge PR DefinitelyTyped#71167 [@types/dxf] Update toPolylines retu…
Browse files Browse the repository at this point in the history
…rn type by @whewchews
  • Loading branch information
whewchews authored Nov 14, 2024
1 parent 1e8acd5 commit 68f519b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion types/dxf/Helper.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion types/dxf/dxf-tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ helper.denormalised;
// $ExpectType string
helper.toSVG();

// $ExpectType Polyline[]
// $ExpectType PolylineExport
helper.toPolylines();

const { entities } = helper.parsed!;
Expand Down

0 comments on commit 68f519b

Please sign in to comment.