Skip to content
Permalink
Browse files

Fix missing return type (denoland#2038)

  • Loading branch information...
J2P authored and ry committed Apr 2, 2019
1 parent 534b8d3 commit efbe44eb33bb8d19a68bc1a0889c4f2780894184
Showing with 2 additions and 2 deletions.
  1. +2 −2 js/text_encoding.ts
@@ -442,7 +442,7 @@ export class TextDecoder {

return codePointsToString(output);
}
get [Symbol.toStringTag]() {
get [Symbol.toStringTag](): string {
return "TextDecoder";
}
}
@@ -470,7 +470,7 @@ export class TextEncoder {

return new Uint8Array(output);
}
get [Symbol.toStringTag]() {
get [Symbol.toStringTag](): string {
return "TextEncoder";
}
}

0 comments on commit efbe44e

Please sign in to comment.
You can’t perform that action at this time.