mirror of
https://github.com/lucide-icons/lucide.git
synced 2026-11-10 13:18:25 +00:00
Omit absent className values when calling the shared icon builder so shipped Astro source passes exactOptionalPropertyTypes without changing rendered classes. Enable exactOptionalPropertyTypes and noUncheckedIndexedAccess in the package tsconfig so the existing CI typecheck catches regressions. Background: https://github.com/withastro/astro/issues/18471 Co-authored-by: Codex <noreply@openai.com> Co-authored-by: Eric Fennis <eric.fennis@gmail.com>
29 lines
742 B
JSON
29 lines
742 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ESNext",
|
|
"module": "ESNext",
|
|
"moduleResolution": "bundler",
|
|
"strict": true,
|
|
"noUncheckedIndexedAccess": true,
|
|
"exactOptionalPropertyTypes": true,
|
|
"useDefineForClassFields": true,
|
|
"allowImportingTsExtensions": true,
|
|
"resolveJsonModule": true,
|
|
"verbatimModuleSyntax": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"allowJs": true,
|
|
"checkJs": true,
|
|
"noEmit": true,
|
|
"skipLibCheck": true,
|
|
"jsx": "preserve",
|
|
"lib": ["ESNext", "DOM.Iterable"],
|
|
"types": ["@testing-library/jest-dom/vitest"],
|
|
"plugins": [
|
|
{
|
|
"name": "@astrojs/ts-plugin"
|
|
}
|
|
]
|
|
},
|
|
"include": ["src/**/*.ts", "src/**/*.astro", "tests/**/*.ts"]
|
|
}
|