Getting a new error on working code: Module "./connection.ts" has already exported a member named 'RedisConnectOptions'.
See original GitHub issueHi:
When I run my tests a completely refresh my Deno cache in order to make sure I get all the latest libraries.
Today code that ran fine a week ago is erroring as follows
TS2308 [ERROR]: Module "./connection.ts" has already exported a member named 'RedisConnectOptions'. Consider explicitly re-exporting to resolve the ambiguity.
export * from "./redis.ts";
~~~~~~~~~~~~~~~~~~~~~~~~~~~
at https://raw.githubusercontent.com/keroxp/deno-redis/master/mod.ts:8:1
Tell me please, has something changed on your end, or is this my doing?
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:8 (5 by maintainers)
Top Results From Across the Web
Issues
node_modules/@storybook/client-api/dist/ts3.9/index.d.ts:4:1 Module './types' has already exported a member named 'RenderContext'.
Read more >How to do re-export with overrides?
I found this to work quite nicely: import * as packageA from "packageA"; import * as packageB from "packageB"; export default { ....
Read more >Module has no exported member error in TypeScript
To solve the error, make sure the module exports the specific member and you haven't mistyped the name or mistaken named for default...
Read more >Common Errors with Exporting and Importing Translation ...
This error message only applies to data translation files. Data translation isn't enabled or was disabled after the data translation file was exported....
Read more >TypeScript errors and how to fix them
error TS2305: Module ' ./sum ' has no exported member ' multiply '. Broken Code ❌. sum.ts. 1 2 3
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Thanks @uki00a! 🏁
Thanks!