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

Не можу скомпілювати #102

Open
kant2002 opened this issue Mar 23, 2024 · 1 comment
Open

Не можу скомпілювати #102

kant2002 opened this issue Mar 23, 2024 · 1 comment

Comments

@kant2002
Copy link

src/generated/index.ts:9:1 - error TS2308: Module './designSystem' has already exported a member named 'DefaultImage'. Consider explicitly re-exporting to resolve the ambiguity.

9 export * from './my-info';
  ~~~~~~~~~~~~~~~~~~~~~~~~~~

src/generated/index.ts:9:1 - error TS2308: Module './designSystem' has already exported a member named 'defaultImageFromJSON'. Consider explicitly re-exporting to resolve the ambiguity.

9 export * from './my-info';
  ~~~~~~~~~~~~~~~~~~~~~~~~~~

src/generated/index.ts:9:1 - error TS2308: Module './designSystem' has already exported a member named 'defaultImageToJSON'. Consider explicitly re-exporting to resolve the ambiguity.

9 export * from './my-info';
  ~~~~~~~~~~~~~~~~~~~~~~~~~~

src/generated/index.ts:9:1 - error TS2308: Module './designSystem' has already exported a member named 'defaultImageToNumber'. Consider explicitly re-exporting to resolve the ambiguity.

9 export * from './my-info';
  ~~~~~~~~~~~~~~~~~~~~~~~~~~

src/generated/index.ts:21:1 - error TS2308: Module './token' has already exported a member named 'Gender'. Consider explicitly re-exporting to resolve the ambiguity.

21 export * from './user-service';
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

src/generated/index.ts:21:1 - error TS2308: Module './token' has already exported a member named 'genderFromJSON'. Consider explicitly re-exporting to resolve the ambiguity.

21 export * from './user-service';
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

src/generated/index.ts:21:1 - error TS2308: Module './token' has already exported a member named 'genderToJSON'. Consider explicitly re-exporting to resolve the ambiguity.

21 export * from './user-service';
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

src/generated/index.ts:21:1 - error TS2308: Module './token' has already exported a member named 'genderToNumber'. Consider explicitly re-exporting to resolve the ambiguity.

21 export * from './user-service';
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Found 8 errors in the same file, starting at: src/generated/index.ts:
@kant2002
Copy link
Author

Проблема на мою думку через те що генпрото не вміє рішати коллізії імен для класів із різних пакетів. наприклад

import "token/gender.proto";

enum Gender {
male = 0;
female = 1;
}

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

No branches or pull requests

1 participant