Day 172 of Learning MERN Stack

์ž‘์„ฑ์ž

์นดํ…Œ๊ณ ๋ฆฌ:

โ† ํ”ผ๋“œ๋กœ
DEV Community ยท Ali Hamza ยท 2026-08-16 ๊ฐœ๋ฐœ(SW)

Ali Hamza

Hello Dev Community! ๐Ÿ‘‹

It is officially Day 172 of my full-stack engineering track! After wrapping up my MERN stack Chat Application, today marks the start of my TypeScript journey! ๐Ÿ“˜โšก

I explored the core fundamentals of type safety, type annotations, and basic primitive types (string, number, boolean).

๐Ÿ› ๏ธ Technical Breakdown: Primitive Types & Function Contracts

As captured in my code editor setup (index.ts):

1. Function Parameter & Return Annotations

  • Defined strict type contracts on function inputs and return values to prevent runtime type mismatch bugs:

typescript
  function greet(name: string): string {
    return `Hello ${name}`;
  }

Enter fullscreen mode Exit fullscreen mode

์›๋ฌธ์—์„œ ๊ณ„์† โ†—

์ถ”์ถœ ๋ณธ๋ฌธ ยท ์ถœ์ฒ˜: dev.to ยท https://dev.to/ali_hamza_589ec7b3eb6688d/day-172-of-learning-mern-stack-42f5