修改文件结构

This commit is contained in:
编码猿
2025-09-16 22:46:14 +08:00
parent 715d3ff0bb
commit c3d4b7e1e4
34 changed files with 55 additions and 6 deletions

8
back-end/deno.json Normal file
View File

@@ -0,0 +1,8 @@
{
"tasks": {
"dev": "deno run --watch main.ts"
},
"imports": {
"@std/assert": "jsr:@std/assert@1"
}
}

7
back-end/main.ts Normal file
View File

@@ -0,0 +1,7 @@
export function add(a: number, b: number): number {
return a + b;
}
if (import.meta.main) {
console.log("Add 2 + 3 =", add(2, 3));
}