Skip to content
Snippets Groups Projects
Commit 79d8c25f authored by CORONA Nikola's avatar CORONA Nikola
Browse files

changement vers un dossier TD4

parent ef93b3da
No related branches found
No related tags found
No related merge requests found
function deb1(): { j: number; tab: number[] } {
let j = 200;
let tab: number[] = [];
for (let i = 0; i < 10; i++) {
j -= 10;
tab.push(j);
}
return { j, tab };
}
console.log(deb1());
\ No newline at end of file
{
"version": "0.2.0",
"configurations": [
{
"type": "pwa-node",
"request": "launch",
"name": "Deno: Run Exercice.ts",
"program": "${workspaceFolder}/Exercice.ts", // Fichier TypeScript à exécuter
"cwd": "${workspaceFolder}",
"runtimeExecutable": "deno", // Utilise Deno comme exécutable
"runtimeArgs": [
"run",
"--inspect", // Active le débogage
"--allow-all" // Donne toutes les permissions (ajustez selon vos besoins)
],
"attachSimplePort": 9229
}
]
}
\ No newline at end of file
{
"compilerOptions": {
"target": "es6", // Specify ECMAScript target version
"module": "commonjs", // Specify module code generation
"strict": true, // Enable all strict type-checking options
"esModuleInterop": true, // Enable interoperability between CommonJS and ES Modules
"sourceMap": true // Generate source maps for debugging
},
"include": [
"./**/*.ts" // Include all TypeScript files in the project
],
"exclude": [
"node_modules", // Exclude node_modules folder
"**/*.test.ts" // Exclude test files
]
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment