Regression when spreading Types in an Alias: TS1265: A rest element cannot follow another rest element. #57828
Labels
Working as Intended
The behavior described is the intended behavior; this is not a bug
π Search Terms
TS1265
π Version & Regression Information
β― Playground Link
https://www.typescriptlang.org/play?ts=5.4.2#code/MYewdgzgLgBAZgSwE7QPICMBWBTYsC8MA3nCCAFwwDkpIVAvjAIYQyiRQDcAUO9DBFzgAJhhx4YhIuiZJKVGUgbNWfLt17h+iFFADCWqEzAEYAbSpMANlaoAaGADpnACjG4ojgNbYAnhBcdNCwPAEpQgF0VNkMeNQEhMGEDDmNTC2tbB2dHNxC8bz8AwXZRfKhwqJYYjh5uKF8AB2wYADFkaAAVJpbCBuaQOHgO-UM0nn6WgGVE4W7myRhJwYTSlOhxjUmYAwBbdAQwbDmexaRsJmFwK19zbhgnZ3bdeew7e8fHGdLX94ieIA
π» Code
Workbench Repro
π Actual behavior
A rest element cannot follow another rest element.(1265)
π Expected behavior
No error
Additional information about the issue
No response
The text was updated successfully, but these errors were encountered: