From 2cfa60832496902089b9d73d3954318aa8a1fe2a Mon Sep 17 00:00:00 2001 From: Kitson Kelly Date: Thu, 25 Oct 2018 06:26:21 +1100 Subject: Support CheckJS --- tests/error_008_checkjs.js | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 tests/error_008_checkjs.js (limited to 'tests/error_008_checkjs.js') diff --git a/tests/error_008_checkjs.js b/tests/error_008_checkjs.js new file mode 100644 index 000000000..08d4873c7 --- /dev/null +++ b/tests/error_008_checkjs.js @@ -0,0 +1,6 @@ +// 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(); -- cgit v1.2.3