swc/crates/swc_ecma_lints/tests/pass/issue-3193/1/input.ts
Donny/강동윤 913c82a2ab
fix(es/lints): Fix incorrect duplicate binding error (#3194)
swc_ecma_transforms_base:
 - `resolver`: Fix resolving of `const` and `let`.

swc_ecma_lints:
 - `duplicate_bindings`: Don't mark ambient function declararions as a binding. (Closes #3193)
2022-01-05 11:59:10 +09:00

3 lines
40 B
TypeScript

function test();
function test(a, b) {
}