mirror of
https://github.com/sveltejs/svelte.git
synced 2024-12-01 17:30:59 +01:00
fix typescript error
This commit is contained in:
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…
Reference in New Issue
Block a user