Added typing for app

This commit is contained in:
SamTV12345 2024-09-24 22:22:27 +02:00
parent 518256b63e
commit bb3fa1f9e4

View file

@ -112,7 +112,7 @@ const convertTypescript = (content: string) => {
}
}
const handleLiveReload = async (args: any, padString: string, timeSliderString: string, indexString: any) => {
const handleLiveReload = async (args: ArgsExpressType, padString: string, timeSliderString: string, indexString: any) => {
const chokidar = await import('chokidar')
const watcher = chokidar.watch(path.join(settings.root, 'src', 'static', 'js'), {});
let routeHandlers: { [key: string]: Function } = {};