mirror of
https://github.com/denoland/deno.git
synced 2025-10-02 23:24:37 +00:00
Enable TS strict mode by default (#3899)
Fixes #3324 Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
This commit is contained in:
parent
852823fa50
commit
90125566bb
56 changed files with 314 additions and 179 deletions
|
@ -157,6 +157,7 @@ testPerm({ write: true }, async function writeNullBufferFailure(): Promise<
|
|||
// writing null should throw an error
|
||||
let err;
|
||||
try {
|
||||
// @ts-ignore
|
||||
await file.write(null);
|
||||
} catch (e) {
|
||||
err = e;
|
||||
|
@ -182,6 +183,7 @@ testPerm(
|
|||
// reading file into null buffer should throw an error
|
||||
let err;
|
||||
try {
|
||||
// @ts-ignore
|
||||
await file.read(null);
|
||||
} catch (e) {
|
||||
err = e;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue