Skip to content

feat: export Signal type and SignalOptions#54

Merged
eugenioenko merged 2 commits into
mainfrom
feat/export-signal-type
May 2, 2026
Merged

feat: export Signal type and SignalOptions#54
eugenioenko merged 2 commits into
mainfrom
feat/export-signal-type

Conversation

@eugenioenko
Copy link
Copy Markdown
Owner

Summary

  • Exports Signal class and SignalOptions interface from the public API so consumers can use them as type annotations directly
  • Bumps version to 0.3.25

Test plan

  • Verify import { Signal, SignalOptions } from 'kasper-js' resolves correctly in a consuming project
  • Confirm existing signal(), computed(), watch() usage is unaffected

🤖 Generated with Claude Code

eugenioenko and others added 2 commits May 2, 2026 09:43
Consumers can now import the Signal type directly for type annotations
instead of relying on ReturnType<typeof signal> workarounds.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Rollup cannot resolve type-only exports as value imports.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@eugenioenko eugenioenko merged commit e343f40 into main May 2, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant