@NfNitLoop on Twitter: Post

@NfNitLoop on Twitter

@NfNitLoop ("Cody C. #BLM") replied to a tweet by @NfNitLoop:

Got a great explanation from the (a?) TypeScript Community Discord:

If a class has private members, it can operate on those members. Any of its methods that take an arg typed as itself expect to be able to operate on those private members. Structural typing would break here.