File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
packages/svelte/src/compiler/phases Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -2,14 +2,15 @@ import type {
22 Binding ,
33 Css ,
44 Fragment ,
5+ OnDirective ,
56 RegularElement ,
67 SlotElement ,
78 SvelteElement ,
89 SvelteNode ,
910 SvelteOptions ,
1011 Warning
1112} from '#compiler' ;
12- import type { BaseNode , Identifier , LabeledStatement , Program } from 'estree' ;
13+ import type { Identifier , LabeledStatement , Program } from 'estree' ;
1314import type { Scope , ScopeRoot } from './scope.js' ;
1415
1516export interface Js {
@@ -57,7 +58,7 @@ export interface ComponentAnalysis extends Analysis {
5758 uses_slots : boolean ;
5859 uses_component_bindings : boolean ;
5960 uses_render_tags : boolean ;
60- event_directive_node : BaseNode | null ;
61+ event_directive_node : OnDirective | null ;
6162 uses_event_attributes : boolean ;
6263 custom_element : boolean | SvelteOptions [ 'customElement' ] ;
6364 /** If `true`, should append styles through JavaScript */
You can’t perform that action at this time.
0 commit comments