-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migrate @storybook/client-logger to TypeScript #5151
Conversation
Codecov Report
@@ Coverage Diff @@
## next #5151 +/- ##
=======================================
Coverage 35.24% 35.24%
=======================================
Files 596 596
Lines 7396 7396
Branches 1010 1015 +5
=======================================
Hits 2607 2607
Misses 4276 4276
Partials 513 513
Continue to review full report at Codecov.
|
lib/client-logger/package.json
Outdated
@@ -15,7 +15,7 @@ | |||
}, | |||
"license": "MIT", | |||
"main": "dist/index.js", | |||
"jsnext:main": "src/index.js", | |||
"types": "src/index.d.ts", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be dist/index.d.ts
I think?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed this – thanks for pointing it out.
… exclude paths to exclude tests.
…orybook into ts-migration/client-logger
Issue: #5030
What I did
Migrated
@storybook/client-logger
to TypeScriptHow to test
Existing tests were retained in
lib/client-logger/src/index.test.ts