Microsoft/TypeScript

unintended escaped string for hover

开放

#57,539 创建于 2024年2月26日

 (4 条评论) (0 个反应) (0 位负责人)TypeScript (13,395 个派生)batch import
BugDomain: Error MessagesHelp Wanted

仓库指标

星标
 (108,860 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

🔎 Search Terms

"lsp"

🕗 Version & Regression Information

version "typescript": "5.3.3"

⏯ Playground Link

No response

💻 Code

// 🦁.ts
export const foo = "bar";

// main.ts
import { bar } from './🦁.ts';

🙁 Actual behavior

The lsp message shows Module '"./\uD83E\uDD81.ts"' has no exported member 'bar'.ts(2305).

🙂 Expected behavior

It should be Module '"./🦁.ts"' has no exported member 'bar'.ts(2305).

Additional information about the issue

贡献者指南