@hyperneutrino/djs-lite 1.7.0 → 1.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.ts +3 -3
- package/package.json +1 -1
package/index.ts
CHANGED
|
@@ -47,7 +47,7 @@ type WrapperConfig<R extends Record<string, Handleable>> = {
|
|
|
47
47
|
};
|
|
48
48
|
|
|
49
49
|
/**
|
|
50
|
-
* This is the type of `config.wrappers` in
|
|
50
|
+
* This is the type of `config.wrappers` in {@link loadCommands}. This type is exported so that you can expose the wrappers upstream if you are making a library
|
|
51
51
|
* surrounding this library.
|
|
52
52
|
*/
|
|
53
53
|
export interface CommandWrappers extends WrapperConfig<{
|
|
@@ -58,7 +58,7 @@ export interface CommandWrappers extends WrapperConfig<{
|
|
|
58
58
|
}> {}
|
|
59
59
|
|
|
60
60
|
/**
|
|
61
|
-
* This is the type of `config.wrappers` in
|
|
61
|
+
* This is the type of `config.wrappers` in {@link loadInteractions}. This type is exported so that you can expose the wrappers upstream if you are making a library
|
|
62
62
|
* surrounding this library.
|
|
63
63
|
*/
|
|
64
64
|
export interface InteractionWrappers extends WrapperConfig<{
|
|
@@ -72,7 +72,7 @@ export interface InteractionWrappers extends WrapperConfig<{
|
|
|
72
72
|
}> {}
|
|
73
73
|
|
|
74
74
|
/**
|
|
75
|
-
* This is a union type of
|
|
75
|
+
* This is a union type of {@link CommandWrappers} and {@link InteractionWrappers} so you can expose all of them at once (since there is no overlap in the field names).
|
|
76
76
|
*/
|
|
77
77
|
export interface Wrappers extends CommandWrappers, InteractionWrappers {}
|
|
78
78
|
|