Created
March 28, 2019 13:27
-
-
Save jakubbarczyk/dbc04dcbd37f196de72b6fd84facda1d to your computer and use it in GitHub Desktop.
This file contains 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
function Freeze(constructor: Function) { | |
Object.freeze(constructor); | |
Object.freeze(constructor.prototype); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment