Skip to content
เข้าสู่ระบบ

Object Types Comparison

มีหลายวิธีกำหนด object types แต่ละวิธีมีข้อดีข้อเสียต่างกัน เลือกใช้ให้เหมาะสมกับ use case

เปรียบเทียบหลัก

Section titled “เปรียบเทียบหลัก”
FeatureInterfaceType AliasClass
Object shapesYesYesYes
Extends/Implementsextends& intersectionextends/implements
Declaration mergingYesNoNo
UnionsNoYesNo
Runtime valueNoNoYes

เข้าสู่ระบบเพื่อดูเนื้อหาเต็ม

ยืนยันตัวตนด้วยบัญชี Google เพื่อปลดล็อกบทความทั้งหมด