Skip to content

ERROR Compiled - Cannot find name 'E' in effector/index.d.ts #45

@dundich

Description

@dundich

Code to reproduce the issue:

57:57 Cannot find name 'E'.
    55 |     handler: (state: State, payload: E) => State | void,
    56 |   ): this
  > 57 |   off(event: Event<any> | Effect<any, any, any> | Store<E>): void
       |                                                         ^
    58 |   subscribe(listner: any): Subscription
    59 |   watch<E>(
    60 |     watcher: (state: State, payload: E, type: string) => any,

Versions of packages used: 0.18.2

? maybe =>

export type E = any;

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