chore: drop dead code that make TSGO fail (#18496)

pull/18499/head
Paolo Ricciuti 3 months ago committed by GitHub
parent b9e03714eb
commit b1cadd1eae
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -0,0 +1,5 @@
---
'svelte': patch
---
chore: drop dead code that make TSGO fail

@ -91,10 +91,7 @@ const rest_props_handler = {
*/ */
/*#__NO_SIDE_EFFECTS__*/ /*#__NO_SIDE_EFFECTS__*/
export function rest_props(props, exclude, name) { export function rest_props(props, exclude, name) {
return new Proxy( return new Proxy(DEV ? { props, exclude, name } : { props, exclude }, rest_props_handler);
DEV ? { props, exclude, name, other: {}, to_proxy: [] } : { props, exclude },
rest_props_handler
);
} }
/** /**

Loading…
Cancel
Save