Skip to content

tsc fails with error TS2689: Cannot extend an interface 'Effect.Effect'. Did you mean 'implements'? #705

Closed

Description

@evermake

What version of Effect is running?

  • effect: 3.21.0
  • typescript: 5.9.3
  • @effect/language-service: 0.78.0 or 0.84.1 (issue persists)

What steps can reproduce the bug?

Install effect and @effect/language-service and try to typecheck the code with an interface that extends Effect:

import type * as Effect from 'effect/Effect'

export interface Abc extends Effect.Effect<never, never, never> {
}
  • @effect/language-service with version =0.77.0 — typechecks
  • @effect/language-service with version >=0.78.0 — fails with error error TS2689: Cannot extend an interface 'Effect.Effect'. Did you mean 'implements'?

What is the expected behavior?

No response

What do you see instead?

No response

Additional information

No response

Activity

  1. added
    bug
    on Mar 28, 2026
  2. mattiamanzati commented on Mar 28, 2026

    @mattiamanzati
    Contributor

    Thanks for reporting!
    This should have been fixed with 0.84.2 now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions