mirror of
https://github.com/denoland/deno
synced 2024-08-27 20:09:17 +00:00
Fix missing return type (#2038)
This commit is contained in:
parent
534b8d3021
commit
efbe44eb33
|
@ -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";
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue