You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The TS typechecker throws error since it expects detailedResult to always be false (image below)
This also leads to the typechecker picking up the wrong overload for the function returns type and consequently errors on accessing created, updated and deleted
When i use smartCollectionSync directly (not from the clientMethod) - the overload for detailedResult: true is successfully picked up and no error
I also get the same issues using syncCalendars independently vs from the DAVClient method.
I can use the methods directly but since the examples in the documentation are all DAVClient based probably a good idea to fix the overloads
The text was updated successfully, but these errors were encountered:
For my code here:
The TS typechecker throws error since it expects
![CleanShot 2024-07-26 at 10 19 33@2x](https://private-user-images.githubusercontent.com/28829966/352613005-f49391a7-41c8-4dad-b86f-a6257b3c230d.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzNzQ5OTIsIm5iZiI6MTczOTM3NDY5MiwicGF0aCI6Ii8yODgyOTk2Ni8zNTI2MTMwMDUtZjQ5MzkxYTctNDFjOC00ZGFkLWI4NmYtYTYyNTdiM2MyMzBkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEyVDE1MzgxMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWM0MjBjMDQ1NTdiNDQ3MGRlYzgzNTQyMjU5YTQ4M2VlOTI2MTlkYTQ3ZjlkNWMwNzQyOGU2YmVmZGNhMTk4ZTcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.cgHC5vhWPrjf7e3bew7sWARzMBRbpWuNjHmaTjtxofc)
detailedResult
to always befalse
(image below)This also leads to the typechecker picking up the wrong overload for the function returns type and consequently errors on accessing
created
,updated
anddeleted
When i use
smartCollectionSync
directly (not from the clientMethod) - the overload fordetailedResult: true
is successfully picked up and no errorI also get the same issues using
syncCalendars
independently vs from theDAVClient
method.I can use the methods directly but since the examples in the documentation are all DAVClient based probably a good idea to fix the overloads
The text was updated successfully, but these errors were encountered: