You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Patch Changes
d468aa7: Fix the generated .d.ts for strongly typed events whose detail is a named type (e.g. CustomEvent<MyDetail>). The event handler now references the declared per-event alias instead of that alias concatenated onto the base event type, and the detail type is imported alongside the element so the alias resolves. A single named detail is recovered and imported; unions, nested generics, arrays and namespaced details have no single importable name and are left as-is. Events with a bare CustomEvent/Event type, and components without typed event details, are unaffected.