From 90125566bbaed8b5c6e55ca8dbc432e3433fb73c Mon Sep 17 00:00:00 2001 From: Maximilien Mellen Date: Wed, 19 Feb 2020 21:36:18 +0100 Subject: Enable TS strict mode by default (#3899) Fixes #3324 Co-authored-by: Kitson Kelly --- cli/js/files_test.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cli/js/files_test.ts') diff --git a/cli/js/files_test.ts b/cli/js/files_test.ts index 8f4beb085..03e4d00e9 100644 --- a/cli/js/files_test.ts +++ b/cli/js/files_test.ts @@ -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; -- cgit v1.2.3