diff --git a/baselines/dom.generated.d.ts b/baselines/dom.generated.d.ts index 313f9d44e..1e8b28aeb 100644 --- a/baselines/dom.generated.d.ts +++ b/baselines/dom.generated.d.ts @@ -82,8 +82,8 @@ interface ConstrainVideoFacingModeParameters { ideal?: VideoFacingModeEnum | VideoFacingModeEnum[]; } -interface CustomEventInit extends EventInit { - detail?: any; +interface CustomEventInit extends EventInit { + readonly detail?: T; } interface DeviceAccelerationDict { @@ -2366,9 +2366,9 @@ declare var CSSSupportsRule: { new(): CSSSupportsRule; }; -interface CustomEvent extends Event { - readonly detail: any; - initCustomEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, detailArg: any): void; +interface CustomEvent extends Event { + readonly detail: T; + initCustomEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, detailArg: T): void; } declare var CustomEvent: {