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

"The inferred type of X cannot be named without a reference to Y" (TS2742) #1219

Open
shuga2704 opened this issue May 27, 2024 · 1 comment

Comments

@shuga2704
Copy link
Contributor

No description provided.

@shuga2704
Copy link
Contributor Author

Есть несколько вариантов решения:

  1. Явно ре-экспортить типы из транзитивных зависимостей в new-hope.
  2. import type {} from 'Y' - либа, из которой не наследуются типы

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

No branches or pull requests

1 participant