function event_directive_deprecated(node, name) {
	w(node, 'event_directive_deprecated', `Using \`on:${name}\` to listen to the ${name} event is deprecated. Use the event attribute \`on${name}\` instead\nhttps://svelte.dev/e/event_directive_deprecated`);
}
Using `on:%name%` to listen to the %name% event is deprecated. Use the event attribute `on%name%` instead
@param {null | NodeLike} node
@param {string} name