-
-
Notifications
You must be signed in to change notification settings - Fork 129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Are there any plans to support TypeScript? #237
Comments
maybe, you can try converting to js in the transform function of the config.js file |
Use a custom transform, you can easily compile ts/tsx file to ES5/ES6 and extract translations. |
Maybe a bit late. Anyhow, this is what we use to scan tsx files:
|
Don't know about plans, but this should help parsing ts files #88 (comment) |
https://github.com/lingui/js-lingui supports extraction from ts files no problem, you can try that for i18n |
🚀 Feature Proposal
Support for TypeScript files
Motivation
It's impossible to parse
.ts
and.tsx
files now which makes it hard to use with any modern projectExample
It would fix errors like:
It would close #88 and #179
The text was updated successfully, but these errors were encountered: