Web Developer
/usr/local/server/src/function/src/main.ts:1
import { Client, Users, Databases } from 'node-appwrite
i tried to switch from js to ts in cloud functions, i've changed the main.js to main.ts and also changed the package.json { "name": "starter-template", "version": "1.0.0", "description": "", "main": "src/main.ts", "type": "module", "scripts": { "format": "prettier --write ." }, "dependencies": { "node-appwrite": "^9.0.0" }, "devDependencies": { "prettier": "^3.0.0" } }
and also updated the Entrypoint in the function Configuration section src/main.ts but still didn't want to wrok