> If you get tired of imports always looking like "../" or "./", or needing to change them as you move files, this is a great way to fix that.
This text is one of my biggest pet peeves in the documentation. It's described as if it's some convenience feature that TS will take care of for you, but in reality it only works if your runtime environment also understands it, because TS emits the import paths you use verbatim.
Originally posted by @fatcerberus in #51260 (comment)
This text is one of my biggest pet peeves in the documentation. It's described as if it's some convenience feature that TS will take care of for you, but in reality it only works if your runtime environment also understands it, because TS emits the import paths you use verbatim.
Originally posted by @fatcerberus in #51260 (comment)