From 5cf37c2f2018d51dd4d6498035c385f8ed0bf58f Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Tue, 23 Oct 2018 09:54:52 -0400 Subject: Revert "Support CheckJS" Broken in master. This reverts commit dd230d520b5599c0e51cf30245a567f07b3cfb28. --- tests/error_008_checkjs.js | 6 ------ tests/error_008_checkjs.js.out | 10 ---------- 2 files changed, 16 deletions(-) delete mode 100644 tests/error_008_checkjs.js delete mode 100644 tests/error_008_checkjs.js.out (limited to 'tests') diff --git a/tests/error_008_checkjs.js b/tests/error_008_checkjs.js deleted file mode 100644 index 08d4873c7..000000000 --- a/tests/error_008_checkjs.js +++ /dev/null @@ -1,6 +0,0 @@ -// console.log intentionally misspelled to trigger a type error -consol.log("hello world!"); - -// the following error should be ignored and not output to the console -// @ts-ignore -const foo = new Foo(); diff --git a/tests/error_008_checkjs.js.out b/tests/error_008_checkjs.js.out deleted file mode 100644 index 9220efaf1..000000000 --- a/tests/error_008_checkjs.js.out +++ /dev/null @@ -1,10 +0,0 @@ -[WILDCARD]/tests/error_008_checkjs.jsILDCARD] - error TS2552: Cannot find name 'consol'. Did you mean 'console'? - -ILDCARD] consol.log("hello world!"); -[WILDCARD]~~~~~~ - - $asset$/lib.deno_runtime.d.tsILDCARD] -[WILDCARD]declare const console: console_.Console; -[WILDCARD]~~~~~~~ -[WILDCARD]'console' is declared here. - -- cgit v1.2.3