DevZone Logo

Typescript

Typescript Blogs.

View postBlog post image

25 JavaScript One-Liners every Senior Developer Needs to Know

Master the art of JavaScript one-liners with these 25 powerful snippets. From array manipulation to string operations, these one-liners will make you a JavaScript wizard in no time. Impress your peers and level up your coding skills with these essential one-liners.

MD Fahid Sarker
July 18, 2024
View postBlog post image

Create "Copy Code" button for React-Markdown

Learn how to add a "Copy Code" button to your React-Markdown component. This tutorial provides a step-by-step guide to create a "Copy Code" button that copies code snippets to the clipboard. Enhance your React-Markdown component with this simple yet powerful feature.

MD Fahid Sarker
July 7, 2024
View postBlog post image

Introduction to TypeScript Namespaces

Learn how to use TypeScript namespaces to organize your code and avoid naming conflicts.

MD Fahid Sarker
July 4, 2024
View postBlog post image

Chrome is adding `window​.ai` — a Gemini Nano AI model right inside your browser.

Chrome is adding a window.ai API which is a Gemini Nano AI model which is right inside of your browser. If you don't know this about AI, running things services through chat GPT is expensive. But how about running it locally? It's free and has super-low latency.

MD Fahid Sarker
June 30, 2024
View postBlog post image

Generics - The most intimidating TypeScript feature

Master TypeScript's generics to write cleaner, more efficient, and reusable code with fewer type errors. This guide provides practical tips, insights, and examples suitable for all skill levels, helping you elevate your TypeScript expertise. Dive in and become a TypeScript expert! 🚀

MD Fahid Sarker
June 28, 2024
View postBlog post image

TypeScript Decorators - Sprinkle Some Magic on Your Code

Unlock the mystique of TypeScript decorators with our comprehensive guide. Learn how to add delightful sprinkles of functionality to classes, methods, properties, and parameters using decorators. Perfect for making your code both elegant and powerful—because who doesn't want a bit of magic in their programming life? 🍰✨

MD Fahid Sarker
June 21, 2024