html2canvas icon indicating copy to clipboard operation
html2canvas copied to clipboard

Allow types for onClone to return a promise

Open lukeapage opened this issue 10 months ago • 0 comments

Summary

onClone is returned to a promise, so returning a promise already works, but the type is void. Typescript does not error returning a promise today, but sonar qube does find a "bug" because it thinks you return a promise where you shouldn't.

lukeapage avatar Apr 10 '24 16:04 lukeapage