Closed davewilton closed 2 years ago
https://github.com/dojo/typings/issues/184
DocumentEvent is no longer in versions 4.4 onwards of typescript. To me it looks like these should have been Event anyway? The interface for event can be seen at: https://github.com/microsoft/TypeScript/blob/main/lib/lib.dom.d.ts#L5034
The previous interface for document event which it was using can be seen at
https://github.com/microsoft/TypeScript/blob/release-4.3/lib/lib.dom.d.ts#L4908
This PR changes just that issue e.g
onClick(e: DocumentEvent): boolean;
Becomes
onClick(e: Event): boolean;
The committers are authorized under a signed CLA.
https://github.com/dojo/typings/issues/184
DocumentEvent is no longer in versions 4.4 onwards of typescript. To me it looks like these should have been Event anyway? The interface for event can be seen at: https://github.com/microsoft/TypeScript/blob/main/lib/lib.dom.d.ts#L5034
The previous interface for document event which it was using can be seen at
https://github.com/microsoft/TypeScript/blob/release-4.3/lib/lib.dom.d.ts#L4908
This PR changes just that issue e.g
Becomes