Skip to content

Commit a44b972

Browse files
committed
Update baselines
1 parent d863aef commit a44b972

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/baselines/reference/untypedModuleImport_noImplicitAny.errors.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
/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.
2+
Try `npm install @types/foo` if it exists or adding `declare module 'foo'` in a separate file.
23

34

45
==== /a.ts (1 errors) ====
56
import * as foo from "foo";
67
~~~~~
78
!!! error TS7016: Could not find a declaration file for module 'foo'. '/node_modules/foo/index.js' implicitly has an 'any' type.
9+
!!! error TS7016: Try `npm install @types/foo` if it exists or adding `declare module 'foo'` in a separate file.
810

911
==== /node_modules/foo/index.js (0 errors) ====
1012
// This tests that `--noImplicitAny` disables untyped modules.

0 commit comments

Comments
 (0)