// Module ID: 10987 // Function ID: 10988 // Name: ALLOWED_TYPES // Dependencies: [9840, 2] // Exports: isAllowedType // Module 10987 (ALLOWED_TYPES) import set from "set" /* 2 */; import sortByMatchScore from "sortByMatchScore" /* 9840 */; const items = [sortByMatchScore.AutocompleterResultTypes.USER, sortByMatchScore.AutocompleterResultTypes.TEXT_CHANNEL, sortByMatchScore.AutocompleterResultTypes.VOICE_CHANNEL, sortByMatchScore.AutocompleterResultTypes.GROUP_DM]; const arr = Array.from(items); const result = set.fileFinishedImporting("modules/share/ShareConstants.tsx"); export const ALLOWED_TYPES = arr; export const isAllowedType = function isAllowedType(type) { return arr.includes(type.type); };