Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save barisere/67d8f56c3c37f1b69d78f515f28f599b to your computer and use it in GitHub Desktop.
Save barisere/67d8f56c3c37f1b69d78f515f28f599b to your computer and use it in GitHub Desktop.
const cancelDeleteRequest = function (source: Element) {
clearTimeout(deleteRequests.get(source));
return deleteRequests.delete(source);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment