dist/cache/PermissionOverwriteCache.js
/**
     * Remove a permission overwrite entry from the cache
     * @param id id of the permission overwrite
     * @param channelId id of the channel that belongs to the permission overwrite
     */
Remove a permission overwrite entry from the cache
@param id id of the permission overwrite
@param channelId id of the channel that belongs to the permission overwrite
Remove a permission overwrite entry from the cache @param id id of the permission overwrite @param channelId id of the channel that belongs to the permission overwrite
async remove(id, channelId = this.boundChannel) {
        var _a, _b;
        const permissionOverwrite = await ((_a = this.storageEngine) === null || _a === void 0 ? void 0 : _a.get(this.buildId(id, channelId)));
        if (permissionOverwrite) {
            await super.removeFromIndex(id, channelId);
            return (_b = this.storageEngine) === null || _b === void 0 ? void 0 : _b.remove(this.buildId(id, channelId));
        }
        else {
            return undefined;
        }
    }
async remove ( id , channelId = this . boundChannel ) { var _a , _b ; const permissionOverwrite = await ( ( _a = this . storageEngine ) === null || _a === void 0 ? void 0 : _a . get ( this . buildId ( id , channelId ) ) ) ; if ( permissionOverwrite ) { await super . removeFromIndex ( id , channelId ) ; return ( _b = this . storageEngine ) === null || _b === void 0 ? void 0 : _b . remove ( this . buildId ( id , channelId ) ) ; } else { return undefined ; } }
Remove a permission overwrite entry from the cache
 @param id id of the permission overwrite
 @param channelId id of the channel that belongs to the permission overwrite
Remove a permission overwrite entry from the cache @param id id of the permission overwrite @param channelId id of the channel that belongs to the permission overwrite