Remix.run Logo
austin-cheney 2 hours ago

Node strips types on all imported code regardless of where that code executes.

root_axis 2 hours ago | parent [-]

Node doesn't run in the browser.

umvi an hour ago | parent [-]

Presumably Node is the server (back end), and when the browser requests a TS file, Node is stripping the types before serving it to the browser.

root_axis an hour ago | parent [-]

That presumption is wrong, and doesn't quite make sense if you think about it.