Files
tsgo/testdata/baselines/reference/compiler/duplicateFunctionImplementationInJsFile.symbols
CopilotGitHubcopilot-swe-agent[bot] <[email protected]>jakebaileycopilot <[email protected]>
9039912548 Fix spurious TS2393 on function redeclaration in checked .js files (#4154)
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: jakebailey <[email protected]>
Co-authored-by: copilot <[email protected]>
2026-06-03 20:34:23 +00:00

11 lines
273 B
Plaintext

//// [tests/cases/compiler/duplicateFunctionImplementationInJsFile.ts] ////
=== a.js ===
function f() {}
>f : Symbol(f, Decl(a.js, 0, 0), Decl(a.js, 0, 15))
function f(a) {}
>f : Symbol(f, Decl(a.js, 0, 0), Decl(a.js, 0, 15))
>a : Symbol(a, Decl(a.js, 1, 11))