During my TypeScript project in VSCode, I decided to import an interface from another file. To my surprise, when I allowed VSCode to automatically insert the import statement, it appeared as follows:
import { IOAdapter } from '..';
I was actually anticipating something like this instead:
import { IOAdapter } from '../adapters/IOAdapter.ts';
This ..
syntax seemed unfamiliar to me. Can you explain how it functions?
My TypeScript version is 3.4.1.
Update: The solution provided by @Paleo turned out to be correct. Refer to my comment on his answer for further details on why I was confused.