Skip to content

VSCode Intellisense broken by RootState #194

Closed
@zbeyens

Description

@zbeyens

VSCode autocomplete was completely stuck on "Loading..." only because of this:

export type RootState = StateType<
  ReturnType<typeof import('./root-reducer').default>
>;

I manually encoded the types and intellisense speed is back to very fast

export interface RootState {
    user: UserState;
    auth: AuthState;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions