Node’s type stripping only handles “erasable syntax”:

https://nodejs.org/learn/typescript/run-natively