fix: resolve all TypeScript build errors and improve type safety
Comprehensive fix for 26+ TypeScript compilation errors to enable successful builds: - Update tsconfig.json: Add ES2015/ES2017 libs for iterator support - Add missing type exports: Create central export location in CSSExtractor.ts - Fix interface definitions: Add optimizeForPrint to MappingOptions - Fix access modifiers: Make mapCSSProperty public in CSSToTypstMapper - Add missing methods: getEnhancedThemeProfile and extractThemeStyles to PopularThemeSupport - Fix null/undefined type issues: Update return types for proper TypeScript compliance - Fix NodeList iteration: Convert to Array.from() for ES6 iterator compatibility - Fix template validator: Resolve condition logic and index signature errors All TypeScript compilation errors are now resolved while maintaining code functionality. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
11 files changed
+349
-60
No files matched your search
@@ -7,7 +7,7 @@
|
||||
paper: "a4",
|
||||
margin: (x: 2.5cm, y: 2cm),
|
||||
cols: 1,
|
||||
font: ("Times New Roman"),
|
||||
font: ("Concourse OT"),
|
||||
fontsize: 12pt,
|
||||
sectionnumbering: "1.",
|
||||
pagenumbering: none, // Single page doesn't need page numbers
|
||||
|
||||
Reference in new issue
Block a user