Lint and format src/compiler/compile/render_ssr/handlers/shared/get_slot_scope.js

pull/8569/head
Simon Holthausen 3 years ago
parent 3e6704e601
commit 6f7d19c880

@ -3,8 +3,7 @@
* @returns {import("C:/repos/svelte/svelte/node_modules/.pnpm/@types+estree@1.0.0/node_modules/@types/estree/index").ObjectPattern}
*/
export function get_slot_scope(lets) {
if (lets.length === 0)
return null;
if (lets.length === 0) return null;
return {
type: 'ObjectPattern',
properties: lets.map((l) => {
@ -20,7 +19,3 @@ export function get_slot_scope(lets) {
})
};
}

Loading…
Cancel
Save