fix(lib/discord/types): export API types to expose plugin API decoration
This commit is contained in:
parent
b250450367
commit
a629b2ad44
2 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@ import type {
|
|||
ViewStyle,
|
||||
} from 'react-native'
|
||||
|
||||
export * from './api'
|
||||
export * from './native'
|
||||
export * from './polyfills'
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue