forked from vitejs/vite-plugin-react-pages
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Now expands type aliases and interfaces with literal only types. Also allows to expand inherited props. Example: ```mdx <TsInfo src='./Button.tsx' name='ButtonProps'` /> <TsInfo src='./Button.tsx' name='ButtonProps:*'` /> <TsInfo src='./Button.tsx' name='ButtonProps:AsProp'` /> <TsInfo src='./Button.tsx' name='ButtonProps:AsProp:BaseProps'` /> ``` Fixes vitejs#33
- Loading branch information
Showing
3 changed files
with
181 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 23 additions & 2 deletions
25
packages/playground/use-theme-doc/pages/components/button/types.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters