Joined October 2024
2,409 Photos and videos
Pinned Tweet
Let's build together and connect
3
8
344
Hello @amazonIN @amazon how can someone talk to you customer care or ho some can get the support i mean this is my Order number 171-0786529-4157964 i mean no one call yet and tried mulitple time to contact to support no option available and its like you pay money we will do whatever we wanted to do i mean.. and this all happening being a prime member i mean really worst service bettter buy from shops This is nosense and you customer service guys only know how to say sorry and thank you never every buy anything from amazon
1
1
61
it says you will get delevery agent number but where is the number search everywhere sms, mail, even at amazon websites. Serioulsy worst service and aslo after paying marketplace fee you guys juts know that how to fool customer and get money from customer
Hello @amazonIN @amazon how can someone talk to you customer care or ho some can get the support i mean this is my Order number 171-0786529-4157964 i mean no one call yet and tried mulitple time to contact to support no option available and its like you pay money we will do whatever we wanted to do i mean.. and this all happening being a prime member i mean really worst service bettter buy from shops
1
1
201
Hello @amazonIN @amazon how can someone talk to you customer care or ho some can get the support i mean this is my Order number 171-0786529-4157964 i mean no one call yet and tried mulitple time to contact to support no option available and its like you pay money we will do whatever we wanted to do i mean.. and this all happening being a prime member i mean really worst service bettter buy from shops
1
228
Bhubaneswar kumar, krunal Pandya πŸ”₯ #RCBvsMI
3
760
It's clearly not out #GTvsRCB #RajatPatidar
1
263
Virat kholi πŸ”₯ 4,4,4,4,4,1 #ViratKohil #GTvsRCB
119
RCB ❀️ #DCvsRCB #bhuvi
1
329
So 49 record will be broken today? #DCvsRCB #bhuvi #Hazelwood
43% Yes
36% No
21% Can't say
14 votes β€’ Final results
438
Delhi capital #DCVSRCB #bhuvi #Hazelwood
399
8-6 πŸ”₯ #DCVSRCB
1
3
768
Complete destruction πŸ”₯ #DCVSRCB #bhuvneswar #Hazelwood
1
2
245
Type Guards in TypeScript πŸš€ | instanceof, Custom Guards & is Keyword Type Guards help TypeScript narrow types safely at runtime β€” making your applications more reliable and type-safe πŸ‘‡ They allow you to check a type before using it. πŸ”Ή instanceof Type Guard Used with classes to check object instances. Example: if (user instanceof Admin) { user.getPermissions(); } Perfect when working with class-based architecture. πŸ”Ή Custom Type Guards (is Keyword) Create your own type-checking logic. Example: function isString(value: unknown): value is string { return typeof value === "string"; } Now TypeScript understands the type inside conditional blocks. πŸ”Ή Why Type Guards Matter? βœ… Safer handling of union types βœ… Better control over dynamic data βœ… Prevent runtime errors βœ… Improve code readability Mastering type guards helps you write smarter, safer, and more professional TypeScript code. I’ve explained everything with real-world examples in this video πŸ‘‡ πŸŽ₯ youtu.be/S9t2821h4H0 #TypeScript #JavaScript #WebDevelopment #Programming #Frontend
22
Type Narrowing in TypeScript πŸš€ | typeof, Truthy & Equality Checks Type Narrowing allows TypeScript to understand more specific types inside conditional blocks β€” making your code safer and more predictable πŸ‘‡ Instead of treating a value as a union type everywhere, TypeScript β€œnarrows” it based on your checks. πŸ”Ή typeof Narrowing Used for primitive types like string, number, boolean. Example: function format(value: string | number) { if (typeof value === "string") { return value.toUpperCase(); } return value.toFixed(2); } πŸ”Ή Truthy & Falsy Checks Helps narrow types when checking for null or undefined. Example: if (user) { console.log(user.name); } πŸ”Ή Equality Checks (===) When comparing values, TypeScript narrows to the common type inside the block. Example: if (a === b) { // TypeScript knows both are the same type here } πŸ”Ή Why Type Narrowing Matters? βœ… Prevent runtime errors βœ… Write safer conditional logic βœ… Better autocomplete & IntelliSense βœ… More predictable applications Mastering type narrowing is key to writing clean and professional TypeScript code. I’ve explained everything with practical examples in this video πŸ‘‡ πŸŽ₯ youtu.be/GpI5ewVVzAI #TypeScript #JavaScript #WebDevelopment #Programming #Frontend
10
Type Narrowing in TypeScript πŸš€ | typeof, Truthy & Equality Checks Type Narrowing helps TypeScript understand more specific types inside conditions β€” making your code safer and smarter πŸ‘‡ Instead of guessing, TypeScript narrows the type based on checks you write. πŸ”Ή typeof Narrowing Check primitive types like string, number, boolean. Example: function print(value: string | number) { if (typeof value === "string") { console.log(value.toUpperCase()); } } πŸ”Ή Truthy & Falsy Checks Automatically narrow types when checking existence. Example: if (user) { console.log(user.name); } Great for handling null and undefined. πŸ”Ή Equality Narrowing (===) When comparing values, TypeScript narrows to the common type. Example: if (a === b) { // Both are same type here } πŸ”Ή Why Type Narrowing Matters? βœ… Prevent runtime errors βœ… Improve IntelliSense βœ… Safer conditional logic βœ… More predictable applications Mastering type narrowing makes your TypeScript code cleaner, safer, and more professional. I’ve explained everything with real examples in this video πŸ‘‡ πŸŽ₯ youtu.be/ozf458lsmj8 #TypeScript #JavaScript #WebDevelopment #Programming #Frontend
7
Template Literal Types in TypeScript πŸš€ | Dynamic Strings & Advanced Patterns Template Literal Types let you create dynamic string types using TypeScript β€” powerful for building flexible and scalable type systems πŸ‘‡ This feature combines string literals with type logic. πŸ”Ή Basic Template Literal Type Create dynamic string patterns. Example: type Greeting = `Hello ${string}`; Now only strings starting with "Hello " are valid. πŸ”Ή Combining with Unions Generate multiple string combinations automatically. Example: type Direction = "top" | "bottom"; type Position = `${Direction}-left` | `${Direction}-right`; πŸ”Ή Advanced Patterns Works great with: βœ… keyof βœ… Mapped types βœ… Conditional types βœ… API route typing βœ… Event name generation πŸ”Ή Why It Matters? βœ”οΈ Stronger type-safe string patterns βœ”οΈ Prevent invalid string values βœ”οΈ Better autocomplete support βœ”οΈ Scalable dynamic type design Template Literal Types unlock a whole new level of advanced TypeScript patterns. I’ve explained everything with practical examples in this video πŸ‘‡ πŸŽ₯ youtu.be/LfoC5dHzu2s #TypeScript #JavaScript #WebDevelopment #Programming #Frontend
7
Conditional Types in TypeScript πŸš€ | extends, infer & Type Logic Conditional types allow you to create dynamic types based on conditions β€” like writing logic, but at the type level πŸ‘‡ This is where TypeScript becomes truly powerful. πŸ”Ή Basic Conditional Type (extends) Apply a type conditionally. Example: type IsString<T> = T extends string ? true : false; If T is a string β†’ true, otherwise β†’ false. πŸ”Ή Using infer (Extracting Types) Capture and reuse a type inside a conditional. Example: type ReturnType<T> = T extends (...args: any[]) => infer R ? R : never; infer lets you extract the return type dynamically. πŸ”Ή Why Conditional Types Matter? βœ… Build dynamic utility types βœ… Extract types from complex structures βœ… Create flexible APIs βœ… Write advanced reusable type logic Conditional types power many built-in utilities like ReturnType, Exclude, and Extract. Mastering them takes your TypeScript skills to an advanced level. I’ve explained everything with real-world examples in this video πŸ‘‡ πŸŽ₯ youtu.be/PQMRHF-4OBk #TypeScript #JavaScript #WebDevelopment #Programming #Frontend
4
Mapped Types in TypeScript πŸš€ | readonly, Optional Modifiers & Real Use Cases Mapped types let you transform existing types dynamically β€” one of the most powerful features in TypeScript πŸ‘‡ Instead of rewriting types, you can modify them programmatically. πŸ”Ή Basic Mapped Type Loop through keys of a type. Example: type ReadonlyUser<T> = { readonly [K in keyof T]: T[K]; }; πŸ”Ή Making Properties Optional Use ? modifier inside mapped types. Example: type OptionalUser<T> = { [K in keyof T]?: T[K]; }; πŸ”Ή Removing Modifiers You can also remove readonly or optional using -readonly and -?. πŸ”Ή Real-World Use Cases βœ… Creating update (PATCH) types βœ… Building immutable state models βœ… Designing reusable utility types βœ… Scaling large applications Mapped types are the foundation behind utility types like Partial, Readonly, and more. Mastering them helps you write flexible, reusable, and advanced TypeScript code. I’ve explained everything with practical examples in this video πŸ‘‡ πŸŽ₯ youtu.be/lYQZPXrbEbg #TypeScript #JavaScript #WebDevelopment #Programming #Frontend
5
keyof, typeof & Indexed Access in TypeScript πŸš€ | Advanced Type Patterns Ready to level up your TypeScript skills? These advanced type operators help you write smarter and more dynamic types πŸ‘‡ πŸ”Ή keyof Creates a union of all keys of a type. Example: type UserKeys = keyof User; β†’ "name" | "email" | "age" Perfect for dynamic property access. πŸ”Ή typeof (in TypeScript types) Extracts the type of a variable or object. Example: const user = { name: "Vishal", age: 25 }; type UserType = typeof user; Great for inferring types from existing objects. πŸ”Ή Indexed Access Types (T[K]) Access the type of a specific property. Example: type UserName = User["name"]; Powerful when working with dynamic keys and reusable utilities. πŸ”Ή Why These Matter? βœ… Build dynamic & flexible type systems βœ… Improve type reusability βœ… Avoid hardcoding types βœ… Write advanced, scalable TypeScript Mastering these patterns takes your TypeScript knowledge to the next level. I’ve explained everything with practical examples in this video πŸ‘‡ πŸŽ₯ youtu.be/WnPZco0akV8 #TypeScript #JavaScript #WebDevelopment #Programming #Frontend
8
Utility Types in TypeScript πŸš€ | Pick, Omit & Record Explained TypeScript gives us powerful built-in utility types to reshape existing types without rewriting everything πŸ‘‡ πŸ”Ή Pick<T, K> Select specific properties from a type. Perfect when you only need a few fields. Example: type UserPreview = Pick<User, "name" | "email">; πŸ”Ή Omit<T, K> Exclude specific properties from a type. Useful for removing sensitive fields. Example: type PublicUser = Omit<User, "password">; πŸ”Ή Record<K, T> Create an object type with specific keys and value types. Great for mapping dynamic keys. Example: type UserRoles = Record<string, string>; πŸ”Ή Why These Matter? βœ… Reduce duplication βœ… Improve flexibility βœ… Create cleaner APIs βœ… Build scalable TypeScript applications Mastering Pick, Omit, and Record helps you write more precise and maintainable types. I’ve explained everything with real-world examples in this video πŸ‘‡ πŸŽ₯ youtu.be/1uakwEVCQ84 #TypeScript #JavaScript #WebDevelopment #Programming #Frontend
4