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.out | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 tests/error_008_checkjs.js.out (limited to 'tests/error_008_checkjs.js.out') diff --git a/tests/error_008_checkjs.js.out b/tests/error_008_checkjs.js.out new file mode 100644 index 000000000..9220efaf1 --- /dev/null +++ b/tests/error_008_checkjs.js.out @@ -0,0 +1,10 @@ +[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