feat: use ts

This commit is contained in:
2025-01-12 08:46:07 +08:00
parent 5b48c13727
commit 1e16f9706a
3 changed files with 3 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
{
"helloworld-js": {
"script_name": "helloworld-js",
"helloworld-ts": {
"script_name": "helloworld-ts",
"script_length": 69,
"script_sha256": "b301944e64def6c3a1ada4e327a7b2c2e37c576a65da5f797998355c51686f76"
}

View File

@@ -46,7 +46,7 @@ fn main() -> XResult<()> {
}
let abs_dir_entry = std::path::absolute(&dir_entry.path())?;
let main_rs = abs_dir_entry
.join("main.js");
.join("main.ts");
script_meta_map.insert(
script_dir.to_string(),