mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-09 01:42:17 +02:00
fix typedoc
This commit is contained in:
parent
76ed0d3a85
commit
4540457860
@ -78,7 +78,7 @@ export function getDataTypeKey(dataType: GameDataType, slotId: integer = 0): str
|
||||
export function encrypt(data: string, bypassLogin: boolean): string {
|
||||
return (bypassLogin
|
||||
? (data: string) => btoa(data)
|
||||
: (data: string) => AES.encrypt(data, saveKey))(data);
|
||||
: (data: string) => AES.encrypt(data, saveKey))(data) as string;
|
||||
}
|
||||
|
||||
export function decrypt(data: string, bypassLogin: boolean): string {
|
||||
|
Loading…
Reference in New Issue
Block a user