> 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-readonly.md).

# TS - Readonly

<figure><img src="/files/9N01P50uw888v3FntLV5" alt=""><figcaption></figcaption></figure>

Readonly Utility Type က ရှိပြီးသား Object Type ရဲ့ Propery တွေကို read-only (ဖတ်လိုပဲရအောင်) ပြုလုပ်ပြီး Type အသစ်တစ်ခု ပြန်ပေးပါတယ် ။

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

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