Skip to content

It follows that, Ryan Cavanaugh should go with option 2 (prototypes) and Symbols!! #1

@arturohernandez10

Description

@arturohernandez10

Would you take a PR with some change to the readme, suggesting to go with 2. And adding support for it in Typescript such that.

myDate.addDays(3)

Is replaced by:

myDate[addDays](3)

Of course there is some type and code generation issues to resolve. But It seems like the sensitive thing to do.

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