fix
This commit is contained in:
parent
332f0f2742
commit
1beccb57ba
1 changed files with 6 additions and 2 deletions
|
@ -42,8 +42,12 @@ let commands: SlashCommandsManager
|
|||
*
|
||||
* @param options Initialization options
|
||||
*/
|
||||
export function init(options: { env: boolean }): void
|
||||
export function init(options: { publicKey: string; token?: string }): void
|
||||
export function init(options: { env: boolean; path?: string }): void
|
||||
export function init(options: {
|
||||
publicKey: string
|
||||
token?: string
|
||||
path?: string
|
||||
}): void
|
||||
export function init(options: DeploySlashInitOptions): void {
|
||||
if (client !== undefined) throw new Error('Already initialized')
|
||||
if (options.env === true) {
|
||||
|
|
Loading…
Reference in a new issue