Remix.run Logo
EE84M3i 7 months ago

Is there a comprehensive list of such incompatibilities documented somewhere?

judofyr 7 months ago | parent | next [-]

https://www.typescriptlang.org/tsconfig/#isolatedModules

paulddraper 7 months ago | parent [-]

That's not the same.

That guarantees that the types do not determine the output (e.g. no const enums), not that you can "strip" types to get the same output.

paulddraper 7 months ago | parent | prev [-]

Not that I'm aware of.

Decorators would be another example. (Though they have always been marked experimental.)

And of course JSX, but that's not a TypeScript invention.