Skip to content
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

Set up TS typed translation keys? #190

Open
budak7273 opened this issue Sep 29, 2024 · 0 comments
Open

Set up TS typed translation keys? #190

budak7273 opened this issue Sep 29, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@budak7273
Copy link
Member

If we care about it: https://tolgee.io/js-sdk/typed_keys

I tried to follow it by putting a tolgee.d.ts file in src/, and it seemed to be recognized, but I could not find a way to ensure it was working (ex. a value that it would complain about). It did show the key as the TranslationKey type. I tried removing the LiteralUnion portion.

@budak7273 budak7273 added the enhancement New feature or request label Sep 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: 🆕 New
Development

No branches or pull requests

1 participant