I have currently:
A Class with multiple functions A Decorator that saves the function to a list
The problem:
When i call the function “this” is not the class ( or not yet initialized )
How can i implement it correctly?
Submitted 1 year ago by Rooki@lemmy.world to programming@programming.dev
I have currently:
A Class with multiple functions A Decorator that saves the function to a list
The problem:
When i call the function “this” is not the class ( or not yet initialized )
How can i implement it correctly?
rmam@programming.dev 1 year ago
Here’s a friendly reminder that there’s a TypeScript community in programming.dev.
programming.dev/c/typescript
CommunityLinkFixer@lemmings.world [bot] 1 year ago
Hi there! Looks like you linked to a Lemmy community using a URL instead of its name, which doesn’t work well for people on different instances. Try fixing it like this: !typescript@programming.dev
TerrorBite@meow.social 1 year ago
Hi @rikudou, your bot incorrectly flags for Mastodon users. I have to tag the community in my post, or it won't federate. And Mastodon tags seem to look like URLs to the bot.
@programming
rmam@programming.dev 1 year ago
!typescript
!typescript!typescript@programming.dev
(Testing testing, 1 2 3…)