@@ -14,6 +14,8 @@ describe("bindFirstRevealTrigger", () => {
1414 [
1515 ( fire : ( ) => void ) => window . once ( "ready-to-show" , fire ) ,
1616 ( fire : ( ) => void ) => webContents . once ( "did-finish-load" , fire ) ,
17+ ( fire ) => window . once ( "ready-to-show" , fire ) ,
18+ ( fire ) => webContents . once ( "did-finish-load" , fire ) ,
1719 ] ,
1820 reveal ,
1921 ) ;
@@ -30,8 +32,8 @@ describe("bindFirstRevealTrigger", () => {
3032
3133 bindFirstRevealTrigger (
3234 [
33- ( fire : ( ) => void ) => window . once ( "ready-to-show" , fire ) ,
34- ( fire : ( ) => void ) => webContents . once ( "did-finish-load" , fire ) ,
35+ ( fire ) => window . once ( "ready-to-show" , fire ) ,
36+ ( fire ) => webContents . once ( "did-finish-load" , fire ) ,
3537 ] ,
3638 reveal ,
3739 ) ;
@@ -48,8 +50,8 @@ describe("bindFirstRevealTrigger", () => {
4850
4951 bindFirstRevealTrigger (
5052 [
51- ( fire : ( ) => void ) => window . once ( "ready-to-show" , fire ) ,
52- ( fire : ( ) => void ) => webContents . once ( "did-finish-load" , fire ) ,
53+ ( fire ) => window . once ( "ready-to-show" , fire ) ,
54+ ( fire ) => webContents . once ( "did-finish-load" , fire ) ,
5355 ] ,
5456 reveal ,
5557 ) ;
@@ -64,7 +66,7 @@ describe("bindFirstRevealTrigger", () => {
6466 const window = new EventEmitter ( ) ;
6567 const reveal = vi . fn ( ) ;
6668
67- bindFirstRevealTrigger ( [ ( fire : ( ) => void ) => window . once ( "ready-to-show" , fire ) ] , reveal ) ;
69+ bindFirstRevealTrigger ( [ ( fire ) => window . once ( "ready-to-show" , fire ) ] , reveal ) ;
6870
6971 window . emit ( "ready-to-show" ) ;
7072 window . emit ( "ready-to-show" ) ;
0 commit comments