upd: prettify layout

This commit is contained in:
Mar0xy 2023-09-24 12:05:59 +02:00
parent 34e6717dab
commit 1501ab261d
No known key found for this signature in database
GPG key ID: 56569BBE47D2C828
10 changed files with 168 additions and 140 deletions

View file

@ -1,6 +1,6 @@
import { Entity } from "megalodon";
import { Entity } from 'megalodon';
const CHAR_COLLECTION: string = "0123456789abcdefghijklmnopqrstuvwxyz";
const CHAR_COLLECTION: string = '0123456789abcdefghijklmnopqrstuvwxyz';
export enum IdConvertType {
MastodonId,
@ -26,7 +26,7 @@ export function convertId(in_id: string, id_convert_type: IdConvertType): string
outStr = charFromNum(remainder) + outStr;
input /= BigInt(36);
}
let ReversedoutStr = outStr.split("").reduce((acc, char) => char + acc, "");
let ReversedoutStr = outStr.split('').reduce((acc, char) => char + acc, '');
return ReversedoutStr;
default: