fix(lib/discord/types): export API types to expose plugin API decoration

This commit is contained in:
PalmDevs 2026-07-26 16:13:13 +07:00
parent b250450367
commit a629b2ad44
No known key found for this signature in database
GPG key ID: 6FAE8F8677ACA8BA
2 changed files with 2 additions and 1 deletions

View file

@ -1,7 +1,7 @@
import type { DiscordModules } from '.'
declare module '@revenge-mod/plugins/types' {
export interface InitPluginApi {
export interface InitPluginApi<O extends PluginApiExtensionsOptions> {
logger: DiscordModules.Logger
}
}

View file

@ -23,6 +23,7 @@ import type {
ViewStyle,
} from 'react-native'
export * from './api'
export * from './native'
export * from './polyfills'