Just published a hot new article on how to turbocharge your CI pipeline with cached Jest, ESLint, Prettier, and TypeScript! 🔥🛠️ Say goodbye to slow builds and hello to speed! ⚡️💨 🔗 https://lnkd.in/ePfbhRCa Happy coding! 🧑💻✨
Thomas Queste’s Post
More Relevant Posts
-
I built Zod (TypeScript validation lib) from scratch with TDD. A naive approach to learn how it works. - Optional and nullable types. - Enum Types - Union Types - Literal strings - Discriminated Union Documented my learnings in README. https://lnkd.in/et9RCtXp
GitHub - narutosstudent/Zod-from-scratch: Building zod from scratch to deepen my TypeScript knowledge.
github.com
To view or add a comment, sign in
-
I have been doing this series on TypeScript lately and I just posted a blog on Type Aliases. If you want to learn TypeScript from scratch you can check out my TypeScript Unlocked series. My posts are short and crisp with code snippets and examples. https://lnkd.in/d6b2kESw
TypeScript Unlocked: Type Aliases
blog.troncodes.com
To view or add a comment, sign in
-
Software Engineer | (ReactJS | NextJS | TypeScript | AWS | Svelte) | Helping Software Companies Elevate User Experience and Performance to Drive Web App Engagement
🔍 TypeScript Tip: Harnessing the Power of Type Aliases 🔍 Hello everyone, Back with another TS post today! Type Aliases in TypeScript allow you to create custom types, making your code more readable and maintainable. They let you define a new name for an existing type, useful for complex types or creating more descriptive type names. In daily life, imagine building an application that handles a list of events. Using type aliases ensures clear and consistent property definitions for each event. Check out the code in the attached snippet. Benefits of type aliases include: - Type Safety: Catch errors at compile time, enhancing code robustness. - Readability: Custom types make code more descriptive and easier to understand. - Maintainability: Centralize type definitions for easier management and updates. In conclusion, type aliases are a powerful feature in TypeScript that can enhance the clarity and robustness of your code. If you haven’t explored type aliases yet, give them a try in your next project! #TypeScript #Coding #WebDevelopment #SoftwareEngineering #ProgrammingTips #type #aliasing #reusability #Maintainability #Readability #TypeSafety
To view or add a comment, sign in
-
Senior Frontend Engineer and Technical Leader with over a decade of experience in building data driven products. TypeScript | React | Node | GraphQL - Full Remote ONLY with distributed teams
🚀 Exploring the Power of Const Assertion in TypeScript! 🚀 Const assertions can help you: ✅ Guarantee immutability in your codebase. ✅ Enhance type inference for constants. ✅ Write more expressive and robust TypeScript code. Dive into the details here: https://lnkd.in/dmGzxds9 💪 #TypeScript #ConstAssertion #Immutabilty #TypeSafety
Const Assertion in TypeScript
undefined.technology
To view or add a comment, sign in
-
If you're involved with TypeScript, the style guide shared here is an excellent resource. It's packed with insightful tips and useful references. #TypeScript #codingtips https://lnkd.in/gCVdwbAx
TypeScript Style Guide |
mkosir.github.io
To view or add a comment, sign in
-
Type Assertions in TypeScript: Ensuring Type Safety Learn about Type Assertions in TypeScript and how they can help ensure type safety in your code. https://lnkd.in/dm46Wttv
Type Assertions in TypeScript: Ensuring Type Safety
https://interviewer.live
To view or add a comment, sign in
-
Data Enthusiast | Data Analyst | Data Science | ML/DL/AI | Analytics | Visualization | ETL | UI/UX | NFT | Power Apps | IT | Content Writer | Jobs/Recruitment | Quoran | Follow for more
Summary: In this article, Yogesh Jadhav shares his experience of adding ESlint to a TypeScript project. He initially thought it would be easy, but it turned out to be more challenging than expected. He encountered errors related to the "unknown" type in TypeScript and had to make changes to fix them. After receiving feedback from the repo owner, he made the necessary adjustments and now everything is working fine. This experience taught him the importance of taking the first step and learning from challenges. Takeaway: Adding ESlint to a TypeScript project can be more complex than anticipated, especially when dealing with the "unknown" type. It is important to read the documentation and seek feedback to ensure code quality and adherence to standard rules. Hashtags: #TypeScript #ESlint #CodeQuality #LearningExperience #SoftwareDevelopment
Summary: In this article, Yogesh Jadhav shares his experience of adding ESlint to a TypeScript project. He initially thought it would be easy, but it turned out to be more challenging than expected. He encountered errors related to the "unknown" type in TypeScript and had to make changes to fix them. After receiving feedback from the repo owner, he made the necessary adjustments and now every...
dev.to
To view or add a comment, sign in
-
Ever get sick of writing lots of type assertions in your TypeScript code bases? Sometimes it can get tiresome and generate a lot of extra noise. Well, you should try out type narrowing with the TypeScript "is" operator. Read about it here:
No More Noisy Type Assertions
benjaminrae.dev
To view or add a comment, sign in
-
Web developer crafting digital dreams with AI | Blockchain explorer embracing Web 3.0 | Passionate about coding the future | Let’s innovate together, powered by AI 🚀
🚀 New Blog Post Alert! 🚀 Check out the latest features in TypeScript 5.5: 1. **Better Type Inference** 🤖 2. **Enhanced Regular Expression Syntax Checking** 🔍 3. **New ECMAScript Set Methods** 🛠️ These updates will make your coding experience smoother and more efficient. Happy coding! 🧑💻✨ 👉 [Read the full post here](https://lnkd.in/g6EEbyZY) #TypeScript #WebDevelopment #Coding #TechUpdates
Top 3 features in Typescript 5.5
dev.to
To view or add a comment, sign in
-
Can you identify any type-related issues in this code that would make the compilation fail? C'mon, give it a try for a min before I explain my typescript pain/learning. ------------ Ok, well I couldn't find any bug it looked fine to me, and even the LSP in VSCode didn't throw any squiggly lines at me. However, when I attempted to build the project, it failed due to a TypeScript compilation error indicating that the 'str' object could be undefined. I was so confused because I had already used a type guard still this undefined error was coming up. After hours of intense debugging, a few head-scratching moments, and a refreshing walk, I finally tracked down where things were going wrong. It turns out, the pop() method can return 'undefined' when called on an empty array, which, understandably, left TypeScript a bit upset. What's intriguing is that the split() method can never return an empty array; there's always at least an empty string in there, which had me puzzled. To fix this, I opted for a different approach: I nixed the pop() call and used indexing to grab the last element of the array. It did the trick! This whole experience has reminded me of the power of continuous learning, especially in TypeScript. There's always something new to discover and master! #TypeScript #Frontend #WebDev #Programming
To view or add a comment, sign in