Skip to content

Doesn't provide auto-completion for directly imported TaggedError, Service, etc... #394

@nikelborm

Description

@nikelborm

What steps can reproduce the bug?

import { Service } from 'effect/Effect';
import { TaggedError } from 'effect/Data';

export class MyError extends TaggedError
export class MyService extends Service
  1. Enter the code above
  2. Set the cursor either after TaggedError or after Service
  3. Press Ctrl+Space

What is the expected behavior?

See the autocompletion options like these:

  1. ("MyError")<{}>{}, which properly appears after Data.TaggedError
  2. <MyService>()("MyService", {}){}, which properly appears after Effect.Service

What do you see instead?

Nothing

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions