Skip to content

Refactor methods implemented using Site.prototype #2280

@jovyntls

Description

@jovyntls

Please confirm that you have searched existing issues in the repo

Yes, I have searched the existing issues

Is your feature request related to a problem? Please describe.

Currently, we implement a few methods using Site.prototype (here) due to incompatibility with ES6 class syntax.
This is slightly confusing, especially since we need to stub out the method signatures to maintain TS compatibility.

Describe the solution you'd like

If it is possible, let's implement these as class methods for consistency and readability.

Additional context

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions