Ramu Narasingathinkthroo.hashnode.dev·Feb 3, 2025[Part 1] Build a CLI tool: Setup the tsonfig.jsonIntroduction I am building a CLI tool that lets you add features into your project via CLI. This CLI tool currently only supports adding features in a Next.js based projects. The idea is to run a command like pnpx thinkthroo@latest add supabase-auth ...Next.js
Linh Tranlinhnote.hashnode.dev·Jan 7, 2025[Part 2] What the tsconfig.json! - Exploring the most useful compiler optionsThe compilerOptions setting is one of top-level options of the TypeScript configuration file. Typescript provides a wide range of compiler options that serve various purposes, such as type checking, module resolution, code emission, JavaScript suppor...TypescriptcompilerOptions
Linh Tranlinhnote.hashnode.dev·Jan 7, 2025[Part 1] What the tsconfig.json! - Top-level options you should know aboutAs you may know, the tsconfig.json in the root of a project directory allows developers to customize the TypeScript compiler settings beyond the default configuration. However, TypeScript provides hundreds of configuration options, which can sometime...TypescriptTypeScript
Utkarsh Dhimanutkarshdhiman.hashnode.dev·Aug 29, 2024How to Set Up Absolute Imports in Node.js and TypeScript with NodemonTLDR Switching from relative to absolute imports in TypeScript can greatly enhance code readability and manageability. By updating the tsconfig.json settings to use a fixed path from your project's root, you can simplify import statements. Additiona...46 readsExpress
Sheraz Manzoorsherazmanzoor.hashnode.dev·Aug 8, 2024Type ✔ Vs Interface ❌: Why you should chose type over interface in typescript.I have come to a solution that you should always use types over interfaces. Let's breakdown why!! Interfaces can only specify objects, but type alias can specify objects and everything else. Let's say we have a single Address field and with type you...type alias
Shainil P Scodeshaine.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...Learning 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...1 like·32 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": ...rapidcoding
Osaf Ali Sayedcodewithosu.hashnode.dev·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...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 ...2 likes·3.0K readsTypeScript