Skip to content

@pumpkin-plugins/build API / wit-method-usage/events / trackEventRegistration

Function: trackEventRegistration() ​

trackEventRegistration(analysis, node): void

Defined in: tools/build/src/wit-method-usage/events.ts:8

Records the event types that one node of plugin code registers with a literal name. Marks the event selection incomplete when a registration's event type or target cannot be read statically.

Parameters ​

analysis ​

Analysis

node ​

Node

Returns ​

void

pumpkin-plugins documentation