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