Skip to content

Instantly share code, notes, and snippets.

@cesalberca
Created April 14, 2020 18:55
Show Gist options
  • Save cesalberca/84b3a926296076f536aa6fb7b65b9233 to your computer and use it in GitHub Desktop.
Save cesalberca/84b3a926296076f536aa6fb7b65b9233 to your computer and use it in GitHub Desktop.
function f() {
console.log("f(): evaluated");
return function (target, propertyKey: string, descriptor: PropertyDescriptor) {
console.log("f(): called");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment