Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion storybooks/angular-storybook/.storybook/main.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { StorybookConfig } from '@storybook/angular';
import { type StorybookConfig } from '@storybook/angular';
Copy link

Copilot AI Nov 26, 2025

Choose a reason for hiding this comment

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

The syntax import { type StorybookConfig } is inconsistent with all other storybook configuration files in the repository. All other main.ts files in storybooks use import type { StorybookConfig } instead:

  • storybooks/_storybook/.storybook/main.ts: import type { StorybookConfig }
  • storybooks/react-storybook/.storybook/main.ts: import type { StorybookConfig }
  • storybooks/vue-storybook/.storybook/main.ts: import type { StorybookConfig }

Both syntaxes are valid TypeScript, but for consistency with the rest of the storybook files, please use import type { StorybookConfig } instead of import { type StorybookConfig }.

Suggested change
import { type StorybookConfig } from '@storybook/angular';
import type { StorybookConfig } from '@storybook/angular';

Copilot uses AI. Check for mistakes.

import { dirname, join } from 'node:path';

Expand Down
Loading