رونمایی از پخته‌ترین و کاربردی‌ترین محصولات آموزشی سون‌لرن با کلی آفرهای ویژه🔥
۰ ثانیه
۰ دقیقه
۰ ساعت
۱ آرمین
ارور updatedSelectSkill
یلدا محصلی حل شده توسط یلدا محصلی

ببخشید مشکل این کد که دورش خط کشیدم چیه که ارور میده؟

photo-2024-01-26-23-57-56-uc5Y.jpg

This expression has a type of 'void' so its value can't be used.
Try checking to see if you're using the correct API; there might be a function or call that returns void you didn't expect. Also check type parameters and variables which might also be void

photo-2024-01-26-23-57-48-fZR2.jpg

به این شکل بنویسید:

onTap: () => updateonTap(skilltype.afterEffect)
بهترین پاسخ
یلدا محصلی ۰۷ بهمن ۱۴۰۲، ۱۸:۰۳