Skip to content

Commit 64e10cc

Browse files
authored
feat(types): export hook types (#208)
1 parent 602acf5 commit 64e10cc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/types.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ export interface ComponentsDir extends ScanDir {
3535
transpile?: 'auto' | boolean
3636
}
3737

38-
type componentsDirHook = (dirs: ComponentsDir[]) => void | Promise<void>
39-
type componentsExtendHook = (components: (ComponentsDir | ScanDir)[]) => void | Promise<void>
38+
export type componentsDirHook = (dirs: ComponentsDir[]) => void | Promise<void>
39+
export type componentsExtendHook = (components: (ComponentsDir | ScanDir)[]) => void | Promise<void>
4040

4141
export interface Options {
4242
dirs: (string | ComponentsDir)[]

0 commit comments

Comments
 (0)