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:
parent
534b8d3021
commit
efbe44eb33
1 changed files with 2 additions and 2 deletions
|
@ -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