What is target in tsconfig.json for?

I am quite new to Typescript. What does Target in tsconfig.json signify? target signifies which target of JavaScript should be emitted from the given TypeScript. Examples: target:es5 ()=>null will become function(){return null} as ES5 doesn’t have arrow functions. target:es6 ()=>null will become ()=>null as ES6 has arrow functions. More I also made a quick video … Read more

How to use paths in tsconfig.json?

This can be set up on your tsconfig.json file, as it is a TS feature. You can do like this: “compilerOptions”: { “baseUrl”: “src”, // This must be specified if “paths” is. … “paths”: { “@app/*”: [“app/*”], “@config/*”: [“app/_config/*”], “@environment/*”: [“environments/*”], “@shared/*”: [“app/_shared/*”], “@helpers/*”: [“helpers/*”] }, … Have in mind that the path where you … Read more