-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Typescript support for Divider (#520)
* First try for typescript support for Divider * In the middle of using proptables from ts components in the storybook * Lot's of lot's of tweeks to make prop tables in storybook working. This commit is kind of a proof of concept * Remove classname, key and ref from props table * Removed debug env * Removed configuration of typescript in storybook main * Remove old testing stuffs * Remove old rollup typescript plugin * Delete copy'n pasted babel typescript transpiler, we use rollup plugin instead * Remove testing stuffs
- Loading branch information
Showing
13 changed files
with
428 additions
and
128 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
module.exports = { | ||
verbose: true, | ||
setupFilesAfterEnv: ['./rtl.setup.ts'], | ||
transform: { | ||
'.(ts|tsx)': 'ts-jest', | ||
}, | ||
testRegex: '(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$', | ||
moduleFileExtensions: ['ts', 'tsx', 'js'], | ||
} |
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
Oops, something went wrong.