mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-03 22:37:03 +00:00
Callback handler should accept an optional event parameter
This commit is contained in:
Vendored
+1
-1
@@ -5,7 +5,7 @@
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.3
|
||||
|
||||
type Handler = () => void;
|
||||
type Handler = (e?: Event) => void;
|
||||
type RequestFullScreenFunction = (element: Element) => void;
|
||||
type EventName = 'fullscreenEnabled' | 'fullscreenElement' | 'requestFullscreen' | 'exitFullscreen' | 'fullscreenchange' | 'fullscreenerror';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user