pull/16515/head
ComputerGuy 1 month ago
parent 7f47f86d5a
commit 528ff394c4

@ -3,14 +3,14 @@
import * as b from '#compiler/builders'; import * as b from '#compiler/builders';
import { build_event, build_event_handler } from './shared/events.js'; import { build_event, build_event_handler } from './shared/events.js';
const modifiers = [ const modifiers = /** @type {const} */ ([
'stopPropagation', 'stopPropagation',
'stopImmediatePropagation', 'stopImmediatePropagation',
'preventDefault', 'preventDefault',
'self', 'self',
'trusted', 'trusted',
'once' 'once'
]; ]);
/** /**
* @param {AST.OnDirective} node * @param {AST.OnDirective} node

Loading…
Cancel
Save