Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nativescript 6.2: Type 'typeof Video' is not assignable to type 'ViewClass' #160

Open
demetrio812 opened this issue Nov 10, 2019 · 1 comment

Comments

@demetrio812
Copy link

Hello,
I've tried to update to NS 6.2 but I can't because I get this error:

ERROR in src/main.tns.ts(45,38): error TS2322: Type 'typeof Video' is not assignable to type 'ViewClass'.
  Type 'Video' is missing the following properties from type 'View': _setupAsRootView, callLoaded, callUnloaded

When I try to register the element:

registerElement('VideoPlayer', () => Video);

Is there a workaround for it?

@demetrio812
Copy link
Author

anyone?

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

No branches or pull requests

1 participant