fix: storybook with typescript (#2926)

* fix storybook for typescript

* fix babel
This commit is contained in:
Alireza authored and GitHub committed 2022-09-13 08:57:22 -04:00
1 parent 1b30ff83a5
commit f9449e97df
38 files changed
+153 -130

No files matched your search

+3 -1
View File
@@ -8,8 +8,10 @@ module.exports = {
],
plugins: [
'inline-react-svg',
'@babel/plugin-proposal-class-properties',
['@babel/plugin-proposal-class-properties', { loose: true }],
'@babel/plugin-transform-typescript',
['@babel/plugin-proposal-private-property-in-object', { loose: true }],
['@babel/plugin-proposal-private-methods', { loose: true }],
],
env: {
test: {