Skip to content
This repository was archived by the owner on Apr 13, 2025. It is now read-only.
This repository was archived by the owner on Apr 13, 2025. It is now read-only.

Make TagComponent inherit from Component #118

@wingyplus

Description

@wingyplus

After I read PR #114, and I understand it correctly, components in queries can accept TagComponent not just Component and NotComponent. So type def should be:

static queries: {
    [queryName: string]: {
      components: (Component | TagComponent | NotComponent)[],
      ...
    }
};

Why it's that. Because TagComponent doesn't inherited from Component. I think TagComponent should be the kind of Component that has only reset method.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions