Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6e7db7b

Browse files
committed
unused
1 parent 3c3360c commit 6e7db7b

File tree

2 files changed

+1
-11
lines changed

2 files changed

+1
-11
lines changed

packages/svelte/src/compiler/phases/3-transform/server/visitors/TitleElement.js

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,6 @@ export function TitleElement(node, context) {
1414
template.push(b.literal('</title>'));
1515

1616
context.state.init.push(
17-
b.stmt(
18-
b.call(
19-
'$.build_title',
20-
b.id('$$payload'),
21-
b.thunk(b.block(build_template(template)), node.metadata.has_await)
22-
)
23-
)
17+
b.stmt(b.call('$.build_title', b.id('$$payload'), b.thunk(b.block(build_template(template)))))
2418
);
2519
}

packages/svelte/src/compiler/types/template.d.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -327,10 +327,6 @@ export namespace AST {
327327
export interface TitleElement extends BaseElement {
328328
type: 'TitleElement';
329329
name: 'title';
330-
/** @internal */
331-
metadata: {
332-
has_await: boolean;
333-
};
334330
}
335331

336332
export interface SlotElement extends BaseElement {

0 commit comments

Comments
 (0)