fix: remove unused ObjectToLower type declarations from index.ts

This commit is contained in:
MARCROCK22 2025-05-22 17:02:06 -04:00
parent e095edd20f
commit 05cdc20d7f

View File

@ -7,10 +7,9 @@ import {
type RuntimeConfig, type RuntimeConfig,
type RuntimeConfigHTTP, type RuntimeConfigHTTP,
} from './client/base'; } from './client/base';
import { type ObjectToLower, isCloudfareWorker } from './common'; import { isCloudfareWorker } from './common';
import type { ClientNameEvents, CustomEventsKeys, ResolveEventParams } from './events'; import type { ClientNameEvents, CustomEventsKeys, ResolveEventParams } from './events';
import { GatewayIntentBits } from './types'; import { GatewayIntentBits } from './types';
import type { APIMessageInteractionMetadata } from './types/payloads/_interactions/base';
export { Logger, PermissionStrings, Formatter } from './common'; export { Logger, PermissionStrings, Formatter } from './common';
// //
export { Collection, LimitedCollection } from './collection'; export { Collection, LimitedCollection } from './collection';
@ -106,14 +105,3 @@ export function extendContext<T extends {}>(
) { ) {
return cb; return cb;
} }
declare const authorizedIntegrationOwners: ObjectToLower<
APIMessageInteractionMetadata['authorizing_integration_owners']
>;
authorizedIntegrationOwners;
// ^?
declare const interactionMetadataLowercase: ObjectToLower<APIMessageInteractionMetadata>;
interactionMetadataLowercase.authorizingIntegrationOwners;
//. ^?