Skip to content

Commit

Permalink
feat(types): export hook types (#208)
Browse files Browse the repository at this point in the history
  • Loading branch information
NozomuIkuta committed Jun 21, 2021
1 parent 602acf5 commit 64e10cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ export interface ComponentsDir extends ScanDir {
transpile?: 'auto' | boolean
}

type componentsDirHook = (dirs: ComponentsDir[]) => void | Promise<void>
type componentsExtendHook = (components: (ComponentsDir | ScanDir)[]) => void | Promise<void>
export type componentsDirHook = (dirs: ComponentsDir[]) => void | Promise<void>
export type componentsExtendHook = (components: (ComponentsDir | ScanDir)[]) => void | Promise<void>

export interface Options {
dirs: (string | ComponentsDir)[]
Expand Down

0 comments on commit 64e10cc

Please sign in to comment.