mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-19 14:05:48 +09:00
8 lines
262 B
TypeScript
8 lines
262 B
TypeScript
// SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
import type {GuildFeature} from '@fluxer/constants/src/GuildConstants';
|
|
|
|
export function mapGuildFeatures(features: ReadonlySet<string>): Array<GuildFeature> {
|
|
return Array.from(features) as Array<GuildFeature>;
|
|
}
|