Type Error When Providing API Service in Effect Program

I might also do smth wrong when I provide an api service for instance to generate static documentation: https://effect.website/play#a61ced8240a3

// Execute the program
Effect.runPromise(program
  .pipe(
    // Provide the API service
    Effect.provideService(HttpApi.Api, { api })
  )
)

complains about Type 'any' is not assignable to type 'never'. for api.
The program runs though.
Was this page helpful?