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

pull/8569/head
Simon Holthausen 3 years ago
parent aa83e534e3
commit f57591cf06

@ -1,7 +1,6 @@
/** @param {ConstTag[]} const_tags */ /** @param {ConstTag[]} const_tags */
export function get_const_tags(const_tags) { export function get_const_tags(const_tags) {
if (const_tags.length === 0) if (const_tags.length === 0) return null;
return null;
return { return {
type: 'VariableDeclaration', type: 'VariableDeclaration',
kind: 'let', kind: 'let',
@ -15,7 +14,3 @@ export function get_const_tags(const_tags) {
}) })
}; };
} }

Loading…
Cancel
Save