Skip to content

Commit 2f23dfb

Browse files
committed
refactor: move types in src
1 parent d6e3fbf commit 2f23dfb

File tree

5 files changed

+6
-1
lines changed

5 files changed

+6
-1
lines changed

β€Žtypes/commands.d.ts renamed to β€Žsrc/types/commands.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export interface CommandOptions {
4141
cooldown?: number
4242
}
4343

44-
export type HarmonyCommandInput = string | HarmonyCommand
44+
export type HarmonyCommandInput = string | HarmonyCommand<boolean>
4545

4646
export interface HarmonyCommand<Slash extends boolean> {
4747
options: CommandOptions
File renamed without changes.

β€Žtypes/harmony.d.ts renamed to β€Žsrc/types/harmony.d.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,7 @@ export interface HarmonyConfig
2323
routeRules?: any
2424
rollupConfig?: any
2525
}
26+
27+
export interface Harmony {
28+
options: HarmonyOptions
29+
}
File renamed without changes.

β€Žtypes.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export * from './dist/index'

0 commit comments

Comments
Β (0)