update baselines

This commit is contained in:
Nathan Shively-Sanders
2022-08-01 14:01:58 -07:00
parent 2a22528c81
commit 345b41eba8
2 changed files with 4 additions and 14 deletions
@@ -8,15 +8,15 @@ function require(a) {
}
const fs = require("fs");
>fs : error
>fs : any
>require("fs") : any
>require : (a: any) => any
>"fs" : "fs"
const text = fs.readFileSync("/a/b/c");
>text : error
>fs.readFileSync("/a/b/c") : error
>fs.readFileSync : error
>text : any
>fs.readFileSync("/a/b/c") : any
>fs.readFileSync : any
>fs : any
>readFileSync : any
>"/a/b/c" : "/a/b/c"
@@ -1,10 +0,0 @@
tests/cases/compiler/index.js(2,25): error TS2307: Cannot find module './mod' or its corresponding type declarations.
==== tests/cases/compiler/index.js (1 errors) ====
(function(require, module, exports){
const mod = require("./mod");
~~~~~~~
!!! error TS2307: Cannot find module './mod' or its corresponding type declarations.
mod.foo;
})(null, null, null);