Resolving TS2742 Error in Effect Project with ParseResult Import
@Tim Smart nice issue cleanup yesterday. the only issue Effect stuff runs into in the moduleResolution NodeNext/Node16 world at least is the dreaded
error TS2742: The inferred type of 'computeTickerSignals' cannot be named without a reference to '@effect/schema/ParseResult'. This is likely not portable. A type annotation is necessary.
solved with
import type {} from "@effect/schema/ParseResult"
import type {} from "@effect/schema/ParseResult"
other cases this happened (see image). However removing all but the ParseResult in the project right now, still compiles. but at the time they were added it was for a reason.
generally it's considered a typescript issue, but it seems you can do "something" to avoid it.