Skip to content
This repository has been archived by the owner on Jun 14, 2024. It is now read-only.

Are there any plans to use typescript for Lumber, or are there any options there #479

Open
danhawkins opened this issue Oct 9, 2020 · 4 comments

Comments

@danhawkins
Copy link

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?

@arnaudbesnier
Copy link
Member

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.

@arnaudbesnier
Copy link
Member

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

@julestruong
Copy link

@arnaudbesnier but still, cli will always generates javascript file right ?

@arnaudbesnier
Copy link
Member

Hello @julestruong,
yes that’s right.
By the way, lumber is now deprecated, you should use the Forest CLI (aka toolbelt) instead.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants