Please provide a proper way to call this method from LWC passing date parameter.
public with sharing class ApexClass {
@AuraEnabled(cacheable = true)
public Date string apexMethod(Date z) {
return z;
}
}
We got date type in aura component for this situation. Any such way in LWC?