For the complete documentation index, see llms.txt. This page is also available as Markdown.

TS - Interface

Interface keyword

TypeScript Interface ကို interface keyword ကိုသုံးပြီး object type ကို ပြုလုပ်နိုင်ပါတယ် ။

Extending Interfaces

Extending Interfaces ဆိုတာ Interface တစ်ခုကနေ အသစ်တိုးချဲ့ပြီး အသုံးပြုနိုင်တဲ့ နည်းလမ်း ဖြစ်ပါတယ် ။ လေ့လာခဲ့တဲ့ Intersection နဲ့ နည်းနည်းဆင်ပါတယ် Interface နှစ်ခုပေါင်းစပ်လိုက်တဲ့ ပုံစံမျိုးပါ ။

Interface As Function

interface keyword နဲ့ Function Type တစ်ခုအနေနဲ့ အခုလိုရေးသားအသုံးပြုနိုင်ပါတယ် ။

Last updated