refactor: convert js to ts

This commit is contained in:
Levi Yan
2024-07-02 12:15:39 +08:00
parent 4afa0ccccc
commit fd9fe52529
12 changed files with 207 additions and 234 deletions

6
.vscode/launch.json vendored
View File

@@ -6,12 +6,9 @@
"name": "Launch Extension",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": ["--extensionDevelopmentPath=${workspaceRoot}"],
"preLaunchTask": "npm: build",
"preLaunchTask": "tsc: build - tsconfig.json",
"outFiles": ["${workspaceFolder}/dist/**/*.js"],
"sourceMaps": true,
"stopOnEntry": false
},
{
"name": "Launch Tests",
@@ -23,7 +20,6 @@
"--extensionTestsPath=${workspaceRoot}/test"
],
"preLaunchTask": "npm: build",
"stopOnEntry": false
}
]
}