mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
update baselines
This commit is contained in:
@@ -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);
|
||||
Reference in New Issue
Block a user