Supported languages

Foundry currently supports Firebase Cloud Functions written in following languages:

  • JavaScript

  • TypeScript

If you would like to see us support your favorite language please contact as at vasek@foundryapp.co or open a GitHub issue.

Using Foundry with Cloud Functions in TypeScript

To enable Foundry's TypeScript support in your project you have to add the typescript: true field to your foundry.yaml configuration file.

We also recommend to add a folder where your is your transpiled JavaScript code to the ignore array. Generally, the folder where is the transpiled JavaScript code is specified in the field outDir in your tsconfig.json .

typescript: true # <--- Add this line to your foundry.yaml file
ignore:
- lib # <--- Add a path to the directory with transpiled JavaScript
users:
...
firestore:
...
realtimeDB:
...
...