diff --git a/src/scripts/classes/credentials.ts b/src/scripts/classes/credentials.ts index d65c629..d261abd 100644 --- a/src/scripts/classes/credentials.ts +++ b/src/scripts/classes/credentials.ts @@ -6,7 +6,7 @@ import { getF95Token } from "../network-helper.js"; /** * Represents the credentials used to access the platform. */ -export class Credentials { +export default class Credentials { /** * Username */ diff --git a/src/scripts/classes/game-info.ts b/src/scripts/classes/game-info.ts index 8bd8930..1a44536 100644 --- a/src/scripts/classes/game-info.ts +++ b/src/scripts/classes/game-info.ts @@ -3,7 +3,7 @@ /** * Information of a game/mod on the platform. */ -export class GameInfo { +export default class GameInfo { //#region Properties /** * Unique ID of the game on the platform. diff --git a/src/scripts/classes/login-result.ts b/src/scripts/classes/login-result.ts index 9886909..c05f755 100644 --- a/src/scripts/classes/login-result.ts +++ b/src/scripts/classes/login-result.ts @@ -3,7 +3,7 @@ /** * Object obtained in response to an attempt to login to the portal. */ -export class LoginResult { +export default class LoginResult { /** * Result of the login operation */ diff --git a/src/scripts/classes/prefix-parser.ts b/src/scripts/classes/prefix-parser.ts index 859326d..86f9720 100644 --- a/src/scripts/classes/prefix-parser.ts +++ b/src/scripts/classes/prefix-parser.ts @@ -6,7 +6,7 @@ import shared = require("../shared.js"); /** * Convert prefixes and platform tags from string to ID and vice versa. */ -export class PrefixParser { +export default class PrefixParser { //#region Private methods /** * @private diff --git a/src/scripts/classes/user-data.ts b/src/scripts/classes/user-data.ts index 42267bc..19e4b00 100644 --- a/src/scripts/classes/user-data.ts +++ b/src/scripts/classes/user-data.ts @@ -3,7 +3,7 @@ /** * Class containing the data of the user currently connected to the F95Zone platform. */ -export class UserData { +export default class UserData { /** * User name. */