summaryrefslogtreecommitdiff
path: root/std/io/writers.ts
diff options
context:
space:
mode:
Diffstat (limited to 'std/io/writers.ts')
-rw-r--r--std/io/writers.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/std/io/writers.ts b/std/io/writers.ts
index f23277f4c..722e0297f 100644
--- a/std/io/writers.ts
+++ b/std/io/writers.ts
@@ -32,6 +32,6 @@ export class StringWriter implements Writer {
offs += chunk.byteLength;
}
this.cache = decode(buf);
- return this.cache!;
+ return this.cache;
}
}