We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
windows: 11 node: 20.16.0 modules: es modules typescript: 5.5.4 check-disk-space: 3.4.0
This expression is not callable. Type 'typeof import("c:/node_modules/check-disk-space/dist/check-disk-space")' has no call signatures.
try to call it in one of my function but it doesnt works
`export const checkDisk = async (req: Request, res: Response) => { try { const drives = await checkDiskSpace()
} catch (error: any) { res.status(500).json({ error: error }); } }`
The text was updated successfully, but these errors were encountered:
No branches or pull requests
windows: 11
node: 20.16.0
modules: es modules
typescript: 5.5.4
check-disk-space: 3.4.0
This expression is not callable. Type 'typeof import("c:/node_modules/check-disk-space/dist/check-disk-space")' has no call signatures.
try to call it in one of my function but it doesnt works
`export const checkDisk = async (req: Request, res: Response) => {
try {
const drives = await checkDiskSpace()
} catch (error: any) {
res.status(500).json({ error: error });
}
}`
The text was updated successfully, but these errors were encountered: