File tree Expand file tree Collapse file tree 3 files changed +8
-7
lines changed
Expand file tree Collapse file tree 3 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 11{
22 "devDependencies" : {
3- "typescript" : " ^3.0.3 "
3+ "typescript" : " ^4 "
44 }
55}
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ images[pos].classList.add('visible')
2121images [ pos ] . classList . add ( 'top' )
2222
2323const delay = 6000
24- setInterval ( _ => {
24+ setInterval ( ( ) => {
2525 const lastPos = pos
2626 pos = ( pos + 1 ) % images . length
2727
@@ -31,12 +31,12 @@ setInterval(_ => {
3131 images [ pos ] . classList . add ( 'top' )
3232
3333 // Hide last image after a short delay.
34- setTimeout ( _ => {
34+ setTimeout ( ( ) => {
3535 images [ lastPos ] . classList . remove ( 'visible' )
3636 } , delay / 2 )
3737} , delay )
3838
3939// Play initial animations on page load.
40- setTimeout ( _ => {
40+ setTimeout ( ( ) => {
4141 document . body . classList . remove ( 'is-preload' )
4242} , 100 )
Original file line number Diff line number Diff line change 22# yarn lockfile v1
33
44
5- typescript@^3.0.3 :
6- version "3.0.3"
7- resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.0.3.tgz#4853b3e275ecdaa27f78fda46dc273a7eb7fc1c8"
5+ typescript@^4 :
6+ version "4.2.3"
7+ resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.2.3.tgz#39062d8019912d43726298f09493d598048c1ce3"
8+ integrity sha512-qOcYwxaByStAWrBf4x0fibwZvMRG+r4cQoTjbPtUlrWjBHbmCAww1i448U0GJ+3cNNEtebDteo/cHOR3xJ4wEw==
You can’t perform that action at this time.
0 commit comments