Skip to content
This repository has been archived by the owner on Feb 24, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging a pull request may close this issue.

2 participants