> 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/basic-typescript/ts-predefined-and-index.md).

# TS - Predefined & Index

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

TypeScript မှာ Index Signature ကိုသုံးပြီး Object တစ်ခုအတွင်း predefined properties တွေကိုသတ်မှတ်နိုင်ပါတယ် ။

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

StringObj ထဲမှာ KeyType string ရယ် ValueType string ဖြစ်တဲ့အပြင် ၊&#x20;

`name` property နဲ့ `address` property ပါကိုပါရမယ်လို့ Predefined လုပ်ထားတာဖြစ်ပါတယ် ။
