LibreChat/packages/api/tsconfig.json
Danny Avila 6a7da61234
🥸 chore: Resolve Agents SDK Path Aliases That Masked Backend Types (#15160)
* 🐛 fix: Restore Agents SDK Type Resolution in Backend Type Checks

* 🐛 fix: Preserve Typed Prompt Callback Assignability

* 🐛 fix: Accept Agents Function Tool Calls in isImageVisionTool

* 🐛 fix: Prove the Run Step Wire Contract at Compile Time
2026-08-24 08:38:30 -04:00

36 lines
1.1 KiB
JSON

{
"compilerOptions": {
"declaration": true,
"declarationDir": "./dist/types",
"module": "esnext",
"noImplicitAny": true,
"outDir": "./types",
"target": "es2015",
"moduleResolution": "bundler",
"allowSyntheticDefaultImports": true,
"lib": ["es2017", "dom", "ES2021.String", "ES2021.WeakRef"],
"allowJs": true,
"skipLibCheck": true,
"esModuleInterop": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"sourceMap": true,
"paths": {
"~/*": ["./src/*"],
// @librechat/agents ships declaration files that import its internal "@/" alias, which
// package exports cannot map; resolve them into its published types until the SDK
// rewrites the aliases at build time.
"@/*": ["../../node_modules/@librechat/agents/dist/types/*"]
}
},
"ts-node": {
"experimentalSpecifierResolution": "node",
"transpileOnly": true,
"esm": true
},
"exclude": ["node_modules", "dist", "types"],
"include": ["src/**/*", "types/index.d.ts", "types/react-query/index.d.ts"]
}