Created
September 28, 2019 19:18
-
-
Save xyclos/d1404c8dff4872d83c80995c066e741e 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
interface String { | |
copyTo(dest: string) : void | |
} | |
String.prototype.copyTo = function (dest: string) { | |
return copyFrom(dest, this.valueOf()) | |
} | |
export { String as Source } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment