Skip to content
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/instrumenter to strict TS #22370

Merged
merged 10 commits into from
May 8, 2023
Merged

Migrate @storybook/instrumenter to strict TS #22370

merged 10 commits into from
May 8, 2023

Conversation

kyletsang
Copy link
Contributor

Part of #22176

What I did

Migrate @storybook/instrumenter to strict TS

How to test

Checklist

  • Make sure your changes are tested (stories and/or unit, integration, or end-to-end tests)
  • Make sure to add/update documentation regarding your changes
  • If you are deprecating/removing a feature, make sure to update
    MIGRATION.MD

Maintainers

  • If this PR should be tested against many or all sandboxes,
    make sure to add the ci:merged or ci:daily GH label to it.
  • Make sure this PR contains one of the labels below.

["cleanup", "BREAKING CHANGE", "feature request", "bug", "documentation", "maintenance", "dependencies", "other"]

@kasperpeulen kasperpeulen self-requested a review May 3, 2023 14:38
@kasperpeulen kasperpeulen added the maintenance User-facing maintenance tasks label May 3, 2023
@@ -112,6 +114,10 @@ export class Instrumenter {
isPlaying?: boolean;
isDebugging?: boolean;
}) => {
if (!storyId) {
return;
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Presumably this should return a boolean, never void.

Copy link
Contributor

@kasperpeulen kasperpeulen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@kasperpeulen kasperpeulen merged commit 04c607c into storybookjs:next May 8, 2023
@kyletsang kyletsang deleted the instrumenter-ts branch May 8, 2023 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance User-facing maintenance tasks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants