Skip to content

Commit

Permalink
chore: fix eslint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Nov 23, 2020
1 parent afefa0b commit 5679e20
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/types.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
type componentsDirHook = (dirs: ComponentsDir[]) => void | Promise<void>
type componentsExtendHook = (components: (ComponentsDir | ScanDir)[]) => void | Promise<void>

export interface Component {
pascalName: string
kebabName: string
Expand Down Expand Up @@ -31,6 +28,9 @@ export interface ComponentsDir extends ScanDir {
transpile?: 'auto' | boolean
}

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

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

0 comments on commit 5679e20

Please sign in to comment.