mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-29 20:37:05 +02:00
all the lints
This commit is contained in:
@@ -137,7 +137,7 @@ class Routing {
|
||||
* Determines if the player is currently on the specified page.
|
||||
* @param page The page to compare against the current state.
|
||||
*/
|
||||
isOn(page: Page) {
|
||||
isOn(page: Page): boolean {
|
||||
return this.currentPage === page;
|
||||
}
|
||||
|
||||
@@ -145,7 +145,7 @@ class Routing {
|
||||
* Routes the player to the appropriate page.
|
||||
* @param page The page to navigate to.
|
||||
*/
|
||||
navigateTo(page: Page) {
|
||||
navigateTo(page: Page): void {
|
||||
this.currentPage = page;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user