Skip to content

ability to use functionally#5

Open
OlafurTorfi wants to merge 2 commits intotryggingamidstodin:masterfrom
OlafurTorfi:master
Open

ability to use functionally#5
OlafurTorfi wants to merge 2 commits intotryggingamidstodin:masterfrom
OlafurTorfi:master

Conversation

@OlafurTorfi
Copy link
Collaborator

I don't like using the object oriented style in typescript, as it can cause runtime errors when abused. If you extract the classes functions to a variable and then call them, the this object will be undefined.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant