Skip to content

Commit

Permalink
refactor: move types in src
Browse files Browse the repository at this point in the history
  • Loading branch information
nethriis committed May 7, 2024
1 parent d6e3fbf commit 2f23dfb
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion types/commands.d.ts → src/types/commands.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export interface CommandOptions {
cooldown?: number
}

export type HarmonyCommandInput = string | HarmonyCommand
export type HarmonyCommandInput = string | HarmonyCommand<boolean>

export interface HarmonyCommand<Slash extends boolean> {
options: CommandOptions
Expand Down
File renamed without changes.
4 changes: 4 additions & 0 deletions types/harmony.d.ts → src/types/harmony.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,7 @@ export interface HarmonyConfig
routeRules?: any
rollupConfig?: any
}

export interface Harmony {
options: HarmonyOptions
}
File renamed without changes.
1 change: 1 addition & 0 deletions types.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from './dist/index'

0 comments on commit 2f23dfb

Please sign in to comment.