mirror of
https://github.com/hugo-fixit/FixIt.git
synced 2026-08-24 15:28:57 +00:00
54fb90388f
Add proper type definitions for Hugo's `@params` virtual module, configure tsconfig paths/typeRoots for resolution, and remove the @ts-expect-error suppress in color-scheme.ts. Also fix nil input handling in camel-case-keys.
23 lines
516 B
JSON
23 lines
516 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ESNext",
|
|
"lib": ["DOM", "DOM.Iterable", "ESNext"],
|
|
"module": "ESNext",
|
|
"moduleResolution": "bundler",
|
|
"paths": {
|
|
"@params": ["./js/types/params"]
|
|
},
|
|
"typeRoots": [
|
|
"./js/types"
|
|
],
|
|
"strict": true,
|
|
"noUnusedLocals": true,
|
|
"allowSyntheticDefaultImports": true,
|
|
"esModuleInterop": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"skipLibCheck": true
|
|
},
|
|
"include": ["js/**/*.ts"],
|
|
"exclude": ["node_modules"]
|
|
}
|