Back

[SOLVED] Typescript Functions

  • 2
  • Web
50l3r
30 Mar, 2023, 14:18

Hi all,

There's a way to develope AppWrite Functions with Typescript? I don't know if i can do this with node-appwrite package.

TL;DR
Solution: Yes, you can develop AppWrite Functions with Typescript using the `node-appwrite` package. To test your function before deployment, you can use the `node-sdk` inside Typescript, which has full support for it. Extracting function logic into a separate function allows you to test it independently and call it within the main endpoint when deployed.
Binyamin
30 Mar, 2023, 14:32

You can use the node-sdk inside Typescript it has full support for it

50l3r
30 Mar, 2023, 14:33

Great. How can i test my function before deploy it

Binyamin
30 Mar, 2023, 14:35

What I do, is I extract all my function logic into a function Then I can call the function when testing and the main endpoint will call it when deployed

50l3r
30 Mar, 2023, 14:36

Good idea. Thank you very much for the help 🙂

Binyamin
30 Mar, 2023, 14:37

Sure thing 👍

Tessa
30 Mar, 2023, 18:06

[SOLVED] Typescript Functions

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more