Files
tsgo/testdata/tests/cases/compiler/catchClauseRestProperties.ts
fce6206f8e Fix panic for rest properties in catch binding when targeting ES2017 (#3927)
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: jakebailey <[email protected]>
2026-05-18 12:16:40 +00:00

8 lines
70 B
TypeScript

// @target: es2017
try {
// ...
} catch ({ ...rest }) {
// ...
}