JS에선 Java처럼 package-level visible property를 못만들다보니, 상호 참조가 많은 클래스를 정의할때 죄다 public으로 해야하는게 별로네. 내부 클래스와 그걸 래핑한 유저한테 노출하는 클래스(또는 인터페이스)를 따로 만들어야 하나.
If you have a fediverse account, you can quote this note from your own instance. Search https://hackers.pub/ap/notes/01985f47-961a-7919-ac63-ca2c2668e295 on your instance and quote it. (Note that quoting is not supported in Mastodon.)
tsconfig에 stripInternal
란게 있군요?