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>
31 lines
514 B
JSON
31 lines
514 B
JSON
{
|
|
"compilerOptions": {
|
|
"baseUrl": ".",
|
|
"inlineSourceMap": true,
|
|
"inlineSources": true,
|
|
"module": "ESNext",
|
|
"target": "ES6",
|
|
"allowJs": true,
|
|
"noImplicitAny": true,
|
|
"moduleResolution": "node",
|
|
"importHelpers": true,
|
|
"isolatedModules": true,
|
|
"strictNullChecks": true,
|
|
"lib": [
|
|
"DOM",
|
|
"ES5",
|
|
"ES6",
|
|
"ES7",
|
|
"ES2015",
|
|
"ES2017"
|
|
]
|
|
},
|
|
"include": [
|
|
"main.ts",
|
|
"src/**/*.ts"
|
|
],
|
|
"exclude": [
|
|
"reference/**/*"
|
|
]
|
|
}
|