mirror of
https://github.com/denoland/deno.git
synced 2024-12-25 16:49:18 -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