Hacker News new | ask | show | jobs
by mtoddsmith 1579 days ago
const anon = "(anonymous)" as __String & string;

What does that even mean? It seems that typescript uses an alias for string as __String in the source but then a bitwise operator with string?