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

TypeScript error: Cannot re-export a type when the '--isolatedModules' flag is provided #69

Open
flatorre1 opened this issue Mar 1, 2021 · 1 comment · May be fixed by #150
Open

TypeScript error: Cannot re-export a type when the '--isolatedModules' flag is provided #69

flatorre1 opened this issue Mar 1, 2021 · 1 comment · May be fixed by #150

Comments

@flatorre1
Copy link

I tried to use it in react but i get this error:

TypeScript error in /Users/tec2/web/node_modules/@mattrglobal/bbs-signatures/lib/types/index.ts(14,10):
Cannot re-export a type when the '--isolatedModules' flag is provided.  TS1205
    12 |  */
    13 | 
  > 14 | export { BbsBlindSignContext } from "./BbsBlindSignContext";
       |          ^
    15 | export { BbsBlindSignContextRequest } from "./BbsBlindSignContextRequest";
    16 | export { BbsBlindSignRequest } from "./BbsBlindSignRequest";
    17 | export { BbsCreateProofRequest } from "./BbsCreateProofRequest";

Any ideas how to avoid this error?
Thank you in advance!

@tplooker
Copy link
Member

Hi @flatorre1 this appears to be cause by the way we choose to structure our typings in files can you explain the usecase for this?

@kad-busses kad-busses linked a pull request May 23, 2023 that will close this issue
8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

2 participants