Error with effect-http when exporting ApiGroup
I'm getting an error with effect-http when trying to export an ApiGroup. I believe it started after updating to "effect-http": "^0.46.2"
@Milan any ideas?
@Milan any ideas?
The inferred type of 'CarApiGroup' cannot be named without a reference to 'effect-http/node_modules/@effect/platform/Http/Router'. This is likely not portable. A type annotation is necessary.ts(2742)export const CarApiGroup = Api.apiGroup('Car').pipe(
Api.get('getCar', '/car/:id', {
response: S.struct({})
})
);