Open lukeapage opened 7 months ago
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.
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.