Repository: storybook
Issue: Storybook 6.0 not picking up types from interfaces
Labels: question / support,addon: docs,block: argstable

**Describe the bug**
I'm trying out storybook with an inner-source typescript react library I maintain at work (unfortunately, it is *not* public, but I think I can provide some anonymized examples).

Funtionally, storybook is working great, but it doesn't pick up the types for documentation. My "Docs" tab is the same thing the user who filed #12212 is seeing, just a recapitulation of the "Canvas" tab.

**Screenshots**
<img width="692" alt="Screen Shot 2020-09-23 at 5 00 09 PM" src="https://user-images.githubusercontent.com/45078010/94069280-4d41e880-fdbe-11ea-89b3-f3744a8b3fa5.png">

<img width="689" alt="Screen Shot 2020-09-23 at 5 00 19 PM" src="https://user-images.githubusercontent.com/45078010/94069292-52069c80-fdbe-11ea-8819-b667243c5c2b.png">

**Code snippets**
my `.storybook/main.js`: 

```js
module.exports = {
  "stories": [
    "../src/**/*.stories.mdx",
    "../src/**/*.stories.@(js|jsx|ts|tsx)"
  ],
  "addons": [
    "@storybook/addon-links",
    "@storybook/addon-essentials",
    "@storybook/preset-create-react-app"
  ],
  "typescript": {
    check: false,
    checkOptions: {},
    reactDocgen: 'react-docgen-typescript',
    reactDocgenTypescriptOptions: {
      shouldExtractLiteralValuesFromEnum: true,
      propFilter: (prop) => (prop.parent ? !/node_modules/.test(prop.parent.fileName) : true),
    },
  },
}
```

my `Button.stories.tsx`: 

```tsx
import React from 'react';
import { Story, Meta } from '@storybook/react';

import { Button, ButtonProps } from 'myLibraryNameHere';

export default {
  title: 'Example/Button',
  component: Button,
  argTypes: {
    variant: {
      control: {
        type: 'select',
        options: ['destructive', 'outline', 'primary', 'standard', 'workflowAction']
      }
    },
    compact: {
      control: 'boolean',
    }
  },
  args: {
    children: 'Button',
    variant: 'standard',
  },
} as Meta;

const Template: Story<ButtonProps> = (args) => <Button {...args} />;

export const Primary = Template.bind({});
Primary.args = {
  variant: 'primary',
};

export const Standard = Template.bind({});
Standard.args = {
};

export const Compact = Template.bind({});
Compact.args = {
  compact: true,
};
```

And here's what the `Button.tsx` file in my library looks like (well, a very simplified view of its structure anyway): 

```tsx
import MuiButton from '@material-ui/core/Button'
import React, {forwardRef} from 'react'

import withTheme from '../hoc/withTheme'

import {ButtonProps} from './Button.model'
import style from './Button.style'

export const Button = forwardRef<HTMLElement, ButtonProps>(({...props}: ButtonProps, ref: React.Ref<HTMLElement>) => (
  <MuiButton {...props}/>
))

/**
 * JSDOC COMMENT
 */
const MyCompanyButton = withTheme(Button, style)

MyCompanyButton.displayName = 'Button'

MyCompanyButton.defaultProps = {
  component: 'button',
  variant: 'standard',
}

export default MyCompanyButton

```

**System:**

Environment Info:

  System:
    OS: macOS 10.15.6
    CPU: (4) x64 Intel(R) Core(TM) i5-7360U CPU @ 2.30GHz
  Binaries:
    Node: 14.11.0 - /usr/local/bin/node
    Yarn: 1.22.5 - /usr/local/bin/yarn
    npm: 6.14.8 - /usr/local/bin/npm
  Browsers:
    Chrome: 85.0.4183.121
    Firefox: 79.0
    Safari: 14.0
  npmPackages:
    @storybook/addon-actions: ^6.0.21 => 6.0.21 
    @storybook/addon-essentials: ^6.0.21 => 6.0.21 
    @storybook/addon-links: ^6.0.21 => 6.0.21 
    @storybook/node-logger: ^6.0.21 => 6.0.21 
    @storybook/preset-create-react-app: ^3.1.4 => 3.1.4 
    @storybook/react: ^6.0.21 => 6.0.21 


**Additional context**
We're forwarding refs because otherwise they can't be passed properly to the MUI component. Is that what's causing the issue here? or maybe the withTheme HOC?

We use `react-docgen-typescript` to generate type documentation without an issue, so I don't think this is an issue with docgen... any insight from you all would be appreciated. If I could fix this, I think I'd just move all my docs to a Storybook!