Skip to content

Fix typings to allow using interfaces over types #7

@leonadler

Description

@leonadler

Works:

type ActionBranches = {
    auth: AuthStateActions;
    editor: EditorStateActions;
    project: ProjectStateActions;
};

Does not work:

interface ActionBranches {
    auth: AuthStateActions;
    editor: EditorStateActions;
    project: ProjectStateActions;
};

Breaks linter rule interface-over-type-literal.

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