> For the complete documentation index, see [llms.txt](https://lwin-moe-paing.gitbook.io/typescript-baby-by-lwin-moe-paing/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://lwin-moe-paing.gitbook.io/typescript-baby-by-lwin-moe-paing/utility/ts-required.md).

# TS - Required

<figure><img src="/files/WPmXRNj99jWTyI4TLEHN" alt=""><figcaption></figcaption></figure>

Required ကတော့ Partial နဲ့ ပြောင်းပြန်ပါပဲ ။

Object Type ထဲမှာ Optional Property တွေပါနေရင် အားလုံးကို Required ပုံစံပြောင်းပေးပါတယ် ။

<figure><img src="/files/LjZ6Qr4kRQARuncls9V3" alt=""><figcaption></figcaption></figure>

Required ရေးသားနည်းနဲ့ RequiredUser ဆိုတဲ့ Type အသစ်ကို ဖန်တီးလိုက်တာပဲဖြစ်ပါတယ် ။
