Microsoft/TypeScript

unintended escaped string for hover

Open

#57,539 opened on Feb 26, 2024

View on GitHub
 (4 comments) (0 reactions) (0 assignees)TypeScript (6,726 forks)batch import
BugDomain: Error MessagesHelp Wanted

Repository metrics

Stars
 (48,455 stars)
PR merge metrics
 (Avg merge 6d 17h) (9 merged PRs in 30d)

Description

🔎 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

Contributor guide