File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,11 +10,11 @@ jobs:
1010 runs-on : ubuntu-latest
1111 steps :
1212 - name : Checkout
13- uses : actions/checkout@v3
14- - name : Use Node.js 18 .x
15- uses : actions/setup-node@v3
13+ uses : actions/checkout@v4
14+ - name : Use Node.js 24 .x
15+ uses : actions/setup-node@v4
1616 with :
17- node-version : 18
17+ node-version : 24
1818 - name : Install dependencies
1919 working-directory : ./${{ inputs.game }}
2020 run : npm ci
Original file line number Diff line number Diff line change @@ -601,7 +601,7 @@ export class LevelSystem implements System {
601601 }
602602
603603 // Get the parent's bubble
604- const parent = bubble . view . parent ;
604+ const parent = bubble . view . parent ! ;
605605
606606 // If drop, add bubble to top of grid container
607607 if ( drop ) parent . addChild ( parent . removeChild ( bubble . view ) ) ;
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ export const storage = {
2727 * Retrieves the storage data.
2828 * @returns The storage data if it exists, undefined otherwise.
2929 */
30- getStorage ( ) : StorageData {
30+ getStorage ( ) : StorageData | undefined {
3131 const data = localStorage . getItem ( STORAGE_ID ) ;
3232
3333 return data ? JSON . parse ( data ) : undefined ;
@@ -38,7 +38,7 @@ export const storage = {
3838 * @returns The retrieved value.
3939 */
4040 getStorageItem < T extends keyof StorageData > ( key : T ) : StorageData [ T ] {
41- const data = this . getStorage ( ) ;
41+ const data = this . getStorage ( ) ! ;
4242
4343 return data [ key ] ;
4444 } ,
@@ -49,7 +49,7 @@ export const storage = {
4949 * @returns The set value.
5050 */
5151 setStorageItem < T extends keyof StorageData > ( key : T , value : StorageData [ T ] ) : StorageData [ T ] {
52- const data = this . getStorage ( ) ;
52+ const data = this . getStorage ( ) ! ;
5353
5454 // Check if storage and intended item exists
5555 if ( data && key in data ) {
You can’t perform that action at this time.
0 commit comments