Skip to content
This repository has been archived by the owner on Nov 5, 2020. It is now read-only.

Commit

Permalink
[nits] Format code
Browse files Browse the repository at this point in the history
  • Loading branch information
pocka committed Feb 1, 2019
1 parent 8921c12 commit 54f84cd
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/extract/extractDocgenInfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@ import { AnyComponent } from '../types/vue'

type Extracted = Pick<ComponentInfo, Exclude<keyof ComponentInfo, 'name'>>

export function extractDocgenInfo(
component: AnyComponent
): Extracted {
export function extractDocgenInfo(component: AnyComponent): Extracted {
const docs = (component as any).__docgenInfo

const props = Object.keys(docs.props).map(name => {
Expand Down

0 comments on commit 54f84cd

Please sign in to comment.