diff --git a/src/extract/extractDocgenInfo.ts b/src/extract/extractDocgenInfo.ts index 9763e39..4a82230 100644 --- a/src/extract/extractDocgenInfo.ts +++ b/src/extract/extractDocgenInfo.ts @@ -3,9 +3,7 @@ import { AnyComponent } from '../types/vue' type Extracted = Pick> -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 => {