mirror of
https://github.com/zoriya/v10.git
synced 2026-08-15 02:14:06 +00:00
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:
co-authored by
Claude
parent
4b472ec49c
commit
374db7afc0
@@ -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);
|
||||
Reference in New Issue
Block a user