Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion client/tsconfig.app.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@
"noFallthroughCasesInSwitch": true,
"noUncheckedSideEffectImports": true
},
"include": ["src"]
"include": ["src", "../server/src/utils/fallbackQuestions.ts"]
}
2 changes: 1 addition & 1 deletion server/src/utils/PromptBuilder.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { fallbackQuestions, FallbackQuestion } from "@/utils/fallbackQuestions";
import { FallbackQuestion } from "@/utils/fallbackQuestions";

export class PromptBuilder {
/**
Expand Down
24 changes: 14 additions & 10 deletions server/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
{
"compilerOptions": {
"target": "es2016", /* Set the JavaScript language version for emitted JavaScript. */
"module": "commonjs", /* Specify what module code is generated. */
"outDir": "./dist", /* Specify the output folder for all emitted files. */
"rootDir": "./src", /* Specify the root folder for input files. */
"strict": true, /* Enable all strict type-checking options. */
"esModuleInterop": true, /* Emit additional JavaScript to ease support for importing CommonJS modules. */
"forceConsistentCasingInFileNames": true, /* Ensure that casing is correct in imports. */
"skipLibCheck": true /* Skip type checking all .d.ts files. */
"target": "es2016",
"module": "commonjs",
"outDir": "./dist",
"rootDir": "./src",
"strict": true,
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"skipLibCheck": true,
"baseUrl": "./", // Set the base directory for module resolution
"paths": {
"@/*": ["src/*"] // Map the '@' alias to the 'src' directory
}
},
"include": ["src/**/*"], /* Include all TypeScript files in the src folder. */
"exclude": ["node_modules"] /* Exclude the node_modules folder. */
"include": ["src/**/*"],
"exclude": ["node_modules"]
}