Last active
November 13, 2016 12:24
-
-
Save tomasperezv/f07f3674778407a87b320cf2b93b791a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Returning true for letting the property value assignment to succeed. | |
*/ | |
set(obj: Object, key: string): boolean { | |
self._registerAccess(key, typeof target[key] !== 'undefined'); | |
return true; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment