Add correct types to healthcheck endpoints (#7144)

Removes the any types and properly types the option
This commit is contained in:
Mats Jun Larsen
2024-11-29 00:24:04 +09:00
committed by GitHub
parent b29a0809ad
commit eb45763ff0
2 changed files with 3 additions and 3 deletions

2
app.ts
View File

@@ -611,7 +611,7 @@ async function main() {
process.exit(0);
}
const healthCheckFilePath = ceProps('healthCheckFilePath', false);
const healthCheckFilePath = ceProps('healthCheckFilePath', false) as string | false;
// Exported to allow compilers to refer to other existing compilers.
global.handler_config = {