Androz2091 / discord-invites-tracker

🐕 Track Discord invites to know who invited who and with which invite!
94 stars 13 forks source link

Combine property declaration and initialization #16

Closed KonkenBonken closed 1 year ago

KonkenBonken commented 1 year ago

By using TypeScript's parameter properties and initializing class properties before the constructor, this greatly simplifies the code and make it more readable, reducing repetition.

KonkenBonken commented 1 year ago

that was quick 😅