Shainil P.S.codeshaine.hashnode.dev·May 9, 2024Is TypeScript Hard ??Before starting note that I'm a JavaScript(Node js) Developer i have somewhat experience in TypeScript. Ok!! When you start your journey of learning Web development you get to know that either you have to be good at Frontend or Backend (Full stack if...DiscussLearning TypeScript
Pranav Bawgikarpranavbawg.hashnode.dev·Apr 20, 2024Well, I kinda learned what TypeScript is...Preface This article was like that missing sock you find a year later behind the dryer — unexpected but still useful! 'Understanding TypeScript' by Gavin Beirman and his co-authors had finally surfaced and helped me get a good grasp of the language's...Discuss·1 like·28 readsTypeScript
Sarthak Batrablog.srthk.com·Apr 18, 2024Modern tsconfig template [2024]In this blog, I am keeping a draft example of the modern tsconfig file that works for me in the projects that I am making. { "compilerOptions": { "target": "ESNext", "experimentalDecorators": false, "module": "commonjs", "rootDir": ...Discussrapidcoding
Osaf Ali Sayedosafalisayed.com·Feb 1, 2024Day 1 - Type Basics and Better workflow with tsconfigWhen working with TypeScript we would want to define the type of each variable. This can be done explicitly or implicitly. To explicitly define a variable type we can write the following code // We can clearly see we define type after the colon let n...Discuss·1 like·36 readsLearn with me TypeScript Crash Course SeriesTypeScript
Max Martínez Cartagenamaxmartinez.dev·Jan 14, 2024How to configure TSConfig Path Aliases?TSConfig path aliases in TypeScript allows us to define custom aliases for module imports in our project. This means we can create shorter and more meaningful names for our module imports, rather than using long and complex relative paths. To set up ...Discuss·1 like·412 readsTypeScript
Gaurav J Somanigaurav750.hashnode.dev·Oct 11, 2023Typescript's Heartbeat: A guide to TSC CompilerTypescript, as we all know, enhances the development process with its static typing and advanced features. But what happens behind the scenes when you write typescript code? How does it magically transform into browser-friendly Javascript? So, in thi...Discuss·2 likes·70 readsTypeScript
Emmanuel Daviddazito.hashnode.dev·Jun 23, 2023Configuring tsconfig.json for your next ts projectWant to start your next project in typescript you can easily use this simple configuration file to kick-start it without wasting time { "compilerOptions": { "target": "ESNext", "useDefineForClassFields": true, "module": "ESNext", "m...DiscussTypeScript
Chilo Maximillianfrontendalchemist.com·May 30, 2023Simplify Your Codebase with Absolute Imports in React: A Guide for JavaScript/TypeScript ProgrammersIntroduction As a JavaScript/TypeScript programmer, working on a large codebase means importing a lot of things from different places. Most times your import section looks like this: import CartModal from "../../../components/cart/CartModal"; import ...Discuss·112 readsJavaScript
Aditya Pradhanblog.adityapradhan.me·Feb 5, 2023tsconfig: The Key to Effortless TypeScript DevelopmentIf you're a TypeScript developer, you've probably come across the tsconfig file before. But, don't worry if you're like most of us who didn't quite understand its significance. I was in the same boat until I decided to take a closer look and learn mo...Discuss·183 readsTypeScript: Journey from dynamic to a strictly typed languageTypeScript