Issue: TypeScript Errors and Breakage after Updating to Version 1.0.26
Description: I updated the dxf-viewer package in my Angular application from version 1.0.22 to the latest version (1.0.26), and I encountered TypeScript errors and breakage in functionality.
Steps to Reproduce:
Update the dxf-viewer package in an Angular application from version 1.0.22 to the latest version (1.0.26).
Build and run the application.
Observe the TypeScript errors and issues in the functionality.
Observed Issues:
Error: node_modules/dxf-viewer/src/index.d.ts:83:42 - error TS2371: A parameter initializer is only allowed in a function or constructor implementation.
constructor(lines: PatternLineDef[], name: string | null = null)
Error: node_modules/dxf-viewer/src/index.d.ts:88:51 - error TS2371: A parameter initializer is only allowed in a function or constructor implementation.
export function RegisterPattern(pattern: Pattern, isMetric: boolean = true): void
Error: node_modules/dxf-viewer/src/index.d.ts:91:45 - error TS2371: A parameter initializer is only allowed in a function or constructor implementation.
export function LookupPattern(name: string, isMetric: boolean = true): Pattern | null
Issue: TypeScript Errors and Breakage after Updating to Version 1.0.26
Description: I updated the dxf-viewer package in my Angular application from version 1.0.22 to the latest version (1.0.26), and I encountered TypeScript errors and breakage in functionality.
Steps to Reproduce:
Update the dxf-viewer package in an Angular application from version 1.0.22 to the latest version (1.0.26). Build and run the application. Observe the TypeScript errors and issues in the functionality.
Observed Issues: