mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-30 11:24:49 -05:00
Improve error message for untyped import of scoped package (#22189)
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
// @noImplicitReferences: true
|
||||
// @noImplicitAny: true
|
||||
|
||||
// @filename: /node_modules/@foo/bar/package.json
|
||||
{ "name": "@foo/bar", "version": "1.2.3" }
|
||||
|
||||
// @filename: /node_modules/@foo/bar/index.js
|
||||
This file is not processed.
|
||||
|
||||
// @filename: /a.ts
|
||||
import * as foo from "@foo/bar";
|
||||
Reference in New Issue
Block a user