mirror of
https://github.com/denoland/deno.git
synced 2025-08-04 19:08:15 +00:00
Use ts-expect-error instead of ts-ignore. (#5869)
This commit is contained in:
parent
24c36fd862
commit
228f9c207f
34 changed files with 81 additions and 94 deletions
|
@ -290,7 +290,7 @@ unitTest(
|
|||
// writing null should throw an error
|
||||
let err;
|
||||
try {
|
||||
// @ts-ignore
|
||||
// @ts-expect-error
|
||||
await file.write(null);
|
||||
} catch (e) {
|
||||
err = e;
|
||||
|
@ -322,7 +322,7 @@ unitTest(
|
|||
// reading file into null buffer should throw an error
|
||||
let err;
|
||||
try {
|
||||
// @ts-ignore
|
||||
// @ts-expect-error
|
||||
await file.read(null);
|
||||
} catch (e) {
|
||||
err = e;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue