fix typescript error

pull/3665/head
Tan Li Hau 5 years ago
parent 8c4fd74543
commit 6a98febf5f

@ -224,7 +224,7 @@ export default function dom(
component.rewrite_props(({ name, reassigned, export_name }) => {
const value = `$${name}`;
let insert: string;
let insert: Node[];
if (reassigned || export_name) {
insert = b`${`$$subscribe_${name}`}()`;
} else {

Loading…
Cancel
Save