

you can only use one asterisk in the paths (nothing like the somedir/**/* we sometimes use somewhere else).the baseUrl is relative to the directory where your tsconfig.json resides.The moduleResolution defaults to classic but nowadays we can safely use node.Open your tsconfig.json and add something like the following snippet to your compilerOptions object (this is obviously just a part of my own configuration, so YMMV): "moduleResolution": "node", "baseUrl": "src", "paths": 😐 Typescript does not emit the resolved aliased path to JavaScript, which means that without some help, your JavaScript application won’t be able to understand what that things is.🙂 Visual Studio Code Intellisense for TypeScript supports this feature (it reads the tsconfig.json, but you need to restart it –or reload your window– whenever you change that file).

😃 TypeScript natively supports this feature and you just need to set it up in your tsconfig.json.A before / after diff of a set of modules
