diff options
author | Kitson Kelly <me@kitsonkelly.com> | 2018-10-25 06:26:21 +1100 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2018-10-24 15:29:30 -0700 |
commit | 2cfa60832496902089b9d73d3954318aa8a1fe2a (patch) | |
tree | a5aa3682034f4d3e33d8e115874b576bcc0ffa13 /tests/error_008_checkjs.js | |
parent | 0501330607b000e0913994e633b76410e1fd162c (diff) |
Support CheckJS
Diffstat (limited to 'tests/error_008_checkjs.js')
-rw-r--r-- | tests/error_008_checkjs.js | 6 |
1 files changed, 6 insertions, 0 deletions
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(); |