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

we need a global.d.ts that is app scoped, monorepo shows conflicting keys. #1639

Closed
SanderCokart opened this issue Dec 30, 2024 · 1 comment
Labels
enhancement New feature or request unconfirmed Needs triage.

Comments

@SanderCokart
Copy link

Is your feature request related to a problem? Please describe.

Autocomplete in editors show the incorrect keys in a monorepo. They are currently not scoped to a directory when using a declare global.

Describe the solution you'd like

A way to make sure the keys we get in t() are the ones related to that specific app.

Describe alternatives you've considered

N/A

@SanderCokart SanderCokart added enhancement New feature or request unconfirmed Needs triage. labels Dec 30, 2024
@amannn
Copy link
Owner

amannn commented Jan 5, 2025

You can join the existing discussion here: #1224.

Maybe the next-intl@4 beta could help in this area too.

@amannn amannn closed this as completed Jan 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request unconfirmed Needs triage.
Projects
None yet
Development

No branches or pull requests

2 participants