
Is it possilbe to have ts? filename in node js template function

huh?

I mean typescript file type?

like I want to convert this all js into typescript

I am using node js runtime cloud function

To run function using TypeScript, you have to select node runtime

Also you have to set the following npm install && npm build
as build command

entry point -> dist/main.js
build command -> npm install && npm build


Or you can use bun, which support typescript out of the box. At the moment, only if you're self hosting your appwrite instance, cloud haven't bun available yet

I tried bun but so hassle in windows platform

but for cloud function you won't have problem 🤔 You can have linux subsystem in windows 10 and 11, if you want run bun for developing

[SOLVED] creating a cloud function using node js support typescript?
Recommended threads
- 404 errors after 7 Days
Local hosted Appwrite via docker. Last version and current version. After exactly 7 days Appwrite stops working. I get 404 route not found, cannot access anyth...
- unable to modify attribute
please help: when I try to modify attribute size or key or anything, I am getting this errors: ``` Deprecated: strtolower(): Passing null to parameter #1 ($str...
- Error 1.7.4 console team no found
In console when i go to auth, select user, select a membership the url not work. Only work searching the team. It is by the region. project-default- and i get ...
