1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-28 16:20:57 -05:00

Fix missing return type (#2038)

This commit is contained in:
JaePil Jung 2019-04-02 23:42:17 +09:00 committed by Ryan Dahl
parent 534b8d3021
commit efbe44eb33

View file

@ -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";
}
}