Skip to content

Commit 7eb8f0e

Browse files
committed
build: agregar tsconfig.json y corregir errores de TypeScript para CI/CD
1 parent 9600053 commit 7eb8f0e

3 files changed

Lines changed: 27 additions & 2 deletions

File tree

1.agents.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import ora from "ora";
77
import readline from "node:readline/promises";
88
import { stdin as input, stdout as output } from "node:process";
99

10-
marked.use(new markedTerminal());
10+
marked.use(markedTerminal() as any);
1111

1212
// 🔧 Configuración general
1313
const DEFAULT_MODEL = "gpt-5.2"; // 🧠 Modelo por defecto (ajusta según disponibilidad)

3.server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ import ora from "ora"; // 🔄 Spinners animados para mostrar que estamos espera
3030
const COPILOT_URL = "copilot-cli-server:4321";
3131

3232
// 🎨 Configura marked para renderizar Markdown con colores en la terminal
33-
marked.use(markedTerminal());
33+
marked.use(markedTerminal() as any);
3434

3535
// 🚀 Función principal auto-ejecutable (IIFE async)
3636
(async () => {

tsconfig.json

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"compilerOptions": {
3+
"target": "ES2020",
4+
"module": "ESNext",
5+
"lib": ["ES2020"],
6+
"moduleResolution": "node",
7+
"allowJs": true,
8+
"strict": false,
9+
"esModuleInterop": true,
10+
"skipLibCheck": true,
11+
"forceConsistentCasingInFileNames": true,
12+
"resolveJsonModule": true,
13+
"noImplicitAny": false,
14+
"noUnusedLocals": false,
15+
"noUnusedParameters": false,
16+
"noImplicitReturns": false
17+
},
18+
"include": [
19+
"*.ts"
20+
],
21+
"exclude": [
22+
"node_modules",
23+
"dist"
24+
]
25+
}

0 commit comments

Comments
 (0)