Skip to content

Commit

Permalink
feat: improved the "mixing-events-handling-syntax" warning description
Browse files Browse the repository at this point in the history
  • Loading branch information
caiquetorres committed Apr 24, 2024
1 parent 2235a6a commit 9352c54
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/svelte/src/compiler/phases/types.d.ts
Expand Up @@ -2,14 +2,15 @@ import type {
Binding,
Css,
Fragment,
OnDirective,
RegularElement,
SlotElement,
SvelteElement,
SvelteNode,
SvelteOptions,
Warning
} from '#compiler';
import type { BaseNode, Identifier, LabeledStatement, Program } from 'estree';
import type { Identifier, LabeledStatement, Program } from 'estree';
import type { Scope, ScopeRoot } from './scope.js';

export interface Js {
Expand Down Expand Up @@ -57,7 +58,7 @@ export interface ComponentAnalysis extends Analysis {
uses_slots: boolean;
uses_component_bindings: boolean;
uses_render_tags: boolean;
event_directive_node: BaseNode | null;
event_directive_node: OnDirective | null;
uses_event_attributes: boolean;
custom_element: boolean | SvelteOptions['customElement'];
/** If `true`, should append styles through JavaScript */
Expand Down

0 comments on commit 9352c54

Please sign in to comment.