Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
tanhauhau committed Feb 23, 2023
1 parent 347774a commit 8e2e473
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions src/compiler/compile/nodes/InlineComponent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import { TemplateNode } from '../../interfaces';
import compiler_errors from '../compiler_errors';
import { regex_only_whitespaces } from '../../utils/patterns';
import { validate_get_slot_names } from './SlotTemplateIfBlock';
import { BaseNode } from 'estree-walker';

export default class InlineComponent extends Node {
type: 'InlineComponent';
Expand Down Expand Up @@ -201,4 +200,4 @@ function if_block_contains_slot_template(node: TemplateNode) {
if (child.type === 'IfBlock' && if_block_contains_slot_template(child)) return true;
}
return false;
}
}
1 change: 0 additions & 1 deletion src/compiler/compile/render_dom/wrappers/SlotTemplate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import SlotTemplate from '../../nodes/SlotTemplate';
import { add_const_tags, add_const_tags_context } from './shared/add_const_tags';
import TemplateScope from '../../nodes/shared/TemplateScope';
import SlotTemplateIfBlockWrapper from './SlotTemplateIfBlock';
import { INode } from '../../nodes/interfaces';

export default class SlotTemplateWrapper extends Wrapper {
node: SlotTemplate;
Expand Down

0 comments on commit 8e2e473

Please sign in to comment.