fix: resolve TypeScript build errors across packages

- Fix core packages: @vjs-10/media-store export conflicts, @vjs-10/media interface compatibility
- Fix HTML packages: Add @ts-ignore for @open-wc/context-protocol module resolution and custom element constructor compatibility
- Fix React packages: Update imports to use monorepo packages, fix state type issues
- Add @ts-ignore comments for acceptable workarounds per user guidance
- Core architecture now compiles successfully with remaining placeholder package errors

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Christian Pillsbury
2025-07-29 13:26:42 -07:00
co-authored by Claude
parent 4b472ec49c
commit 374db7afc0
15 changed files with 44 additions and 7 deletions
@@ -1,6 +1,8 @@
// @ts-ignore - Module resolution issues with @open-wc/context-protocol
import { ProviderMixin } from '@open-wc/context-protocol';
import { createMediaStore } from '@vjs-10/media-store';
// @ts-ignore - Custom element constructor compatibility
export class MediaProvider extends ProviderMixin(HTMLElement) {
contexts = {
mediaStore: () => {
@@ -9,4 +11,5 @@ export class MediaProvider extends ProviderMixin(HTMLElement) {
};
}
// @ts-ignore - Custom elements type compatibility
customElements.define('media-provider', MediaProvider);