Cleanup unneeded apps-config exports (#6039)

This commit is contained in:
Jaco 2021-08-31 12:52:09 +03:00 committed by GitHub
parent 8c9ae64069
commit 9e581a26d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,7 +16,7 @@ function sortLinks (a: SortOption, b: SortOption): number {
: 0;
}
export function expandLinked (input: LinkOption[]): LinkOption[] {
function expandLinked (input: LinkOption[]): LinkOption[] {
return input.reduce((result: LinkOption[], entry): LinkOption[] => {
result.push(entry);
@ -33,7 +33,7 @@ export function expandLinked (input: LinkOption[]): LinkOption[] {
}, []);
}
export function expandEndpoint (t: TFunction, { dnslink, genesisHash, homepage, info, isChild, isDisabled, isUnreachable, linked, paraId, providers, teleport, text }: EndpointOption, firstOnly: boolean, withSort: boolean): LinkOption[] {
function expandEndpoint (t: TFunction, { dnslink, genesisHash, homepage, info, isChild, isDisabled, isUnreachable, linked, paraId, providers, teleport, text }: EndpointOption, firstOnly: boolean, withSort: boolean): LinkOption[] {
const base = {
genesisHash,
homepage,