Effect CommunityEC
Effect Community3y ago
15 replies
imagio

Troubleshooting Auto Imports in Webstorm for Re-exported Effect Stuff

Does anyone know how to get auto imports working correctly in Webstorm when re-exporting Effect stuff from a common file?

export * as Effect from "@effect/io/Effect"
export * as Option from "@effect/data/Option"

That will not get auto imported or suggested for import. However this will

import * as _Duration from "@effect/data/Duration"
export const Duration = _Duration


Is there a different way to get auto-imports and suggestions that work across all/most editors?
Was this page helpful?