mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-11 01:34:55 -06:00
Update baselines
This commit is contained in:
parent
d863aef57e
commit
a44b972682
@ -1,10 +1,12 @@
|
||||
/a.ts(1,22): error TS7016: Could not find a declaration file for module 'foo'. '/node_modules/foo/index.js' implicitly has an 'any' type.
|
||||
Try `npm install @types/foo` if it exists or adding `declare module 'foo'` in a separate file.
|
||||
|
||||
|
||||
==== /a.ts (1 errors) ====
|
||||
import * as foo from "foo";
|
||||
~~~~~
|
||||
!!! error TS7016: Could not find a declaration file for module 'foo'. '/node_modules/foo/index.js' implicitly has an 'any' type.
|
||||
!!! error TS7016: Try `npm install @types/foo` if it exists or adding `declare module 'foo'` in a separate file.
|
||||
|
||||
==== /node_modules/foo/index.js (0 errors) ====
|
||||
// This tests that `--noImplicitAny` disables untyped modules.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user