Microsoft/TypeScript

unintended escaped string for hover

Open

#57.539 aperta il 26 feb 2024

Vedi su GitHub
 (4 commenti) (0 reazioni) (0 assegnatari)TypeScript (6726 fork)batch import
BugDomain: Error MessagesHelp Wanted

Metriche repository

Star
 (48.455 star)
Metriche merge PR
 (Merge medio 6g 17h) (9 PR mergiate in 30 g)

Descrizione

🔎 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

Guida contributor