Skip to content

fix(types): replace import alias with type alias in highlighters#3235

Closed
kumilingus wants to merge 1 commit intoclientIO:masterfrom
kumilingus:fix/typescript-definitions
Closed

fix(types): replace import alias with type alias in highlighters#3235
kumilingus wants to merge 1 commit intoclientIO:masterfrom
kumilingus:fix/typescript-definitions

Conversation

@kumilingus
Copy link
Copy Markdown
Contributor

Summary

  • Replace import HighlighterView = dia.HighlighterView with type HighlighterView = dia.HighlighterView in the highlighters namespace
  • Use fully qualified dia.HighlighterView.Options in interface extends clauses

The import X = Y syntax inside a namespace is a legacy pattern that can cause issues with modern TypeScript tooling.

Test plan

  • yarn test-ts passes

🤖 Generated with Claude Code

…space The `import X = Y` syntax inside a namespace is a legacy pattern. Replace with `type X = Y` and use fully qualified `dia.HighlighterView.Options`. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@kumilingus kumilingus closed this Mar 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant