AtuThin - အတူသင်

Explicit annotation ရေးခြင်း

Explicit annotation ဆိုတာ type ကို ကိုယ်တိုင် ရှင်းရှင်းလင်းလင်း ရေးထားတာပါ — const title: string လိုမျိုးပါ။ Inference နဲ့ ရနိုင်တဲ့ နေရာမှာ ထပ်ရေးတာက အပိုလို့ ထင်ရပေမယ့် တချို့နေရာတွေမှာ annotation က မရှိမဖြစ် လိုပါတယ်။

သင်ခန်းစာ ရယူနေပါတယ်