> 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="https://4062235122-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7tekcoDYDaKhlNreT5uK%2Fuploads%2FgF9QDsILtps1fDrR35Zm%2FTypescript%20Readonly%20Syntax.png?alt=media&amp;token=0b555c2c-6e96-4b62-a0b1-c5fd7bcfdb2b" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://4062235122-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7tekcoDYDaKhlNreT5uK%2Fuploads%2FVJD4KdEPpwtqCaQ8Z1gR%2FTypescript%20Readonly%20Explanation.png?alt=media&amp;token=1e859243-004e-4f6e-9f36-8aa8f379dd0e" alt=""><figcaption></figcaption></figure>

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