lumber
lumber copied to clipboard
Are there any plans to use typescript for Lumber, or are there any options there
We are using Typescript heavily with our company, when we want to use forest we have to mix JS and TS in our product repos. Do you have plans to adopt Typescript for Lumber?
Hi @danhawkins, The generation of Admin backend in Typescript is not part of our roadmap, but I'll share your insight to the team.
So far the only way to do so is to generate your Admin backend in Javascript (with the default lumber generate
command) and then "translate" manually the project in Typescript.
Here is a recent documentation that will help you migrate your project to TypeScript: https://docs.forestadmin.com/woodshop/how-tos/translate-your-app-into-typescript
@arnaudbesnier but still, cli will always generates javascript file right ?
Hello @julestruong, yes that’s right. By the way, lumber is now deprecated, you should use the Forest CLI (aka toolbelt) instead.