Advertisement
Guest User

Untitled

a guest
Oct 17th, 2019
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. interface String {
  2. copyTo(dest: string) : void
  3. }
  4.  
  5. String.prototype.copyTo = function (dest: string) {
  6. return copyFrom(dest, this.valueOf())
  7. }
  8.  
  9. export { String as Source }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement