diff options
author | JaePil Jung <jjp5023@gmail.com> | 2019-04-02 23:42:17 +0900 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2019-04-02 10:42:17 -0400 |
commit | efbe44eb33bb8d19a68bc1a0889c4f2780894184 (patch) | |
tree | 56755dbc0621522f0aa526cc4a7778c165513671 /js | |
parent | 534b8d30219a605c82bac706bc5429d44ae53c32 (diff) |
Fix missing return type (#2038)
Diffstat (limited to 'js')
-rw-r--r-- | js/text_encoding.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/text_encoding.ts b/js/text_encoding.ts index a9d0d74b1..a1f9d6bff 100644 --- a/js/text_encoding.ts +++ b/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"; } } |