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

Build error with Angular 4 / NativeScript 3 RC / TypeScript 2.2 #3

Open
buu700 opened this issue Apr 7, 2017 · 0 comments
Open

Build error with Angular 4 / NativeScript 3 RC / TypeScript 2.2 #3

buu700 opened this issue Apr 7, 2017 · 0 comments

Comments

@buu700
Copy link

buu700 commented Apr 7, 2017

This is just from adding the documented side effect import (import 'nativescript-angular-webview-crypto';) and adding <polyfill-crypto></polyfill-crypto> to our main app template. I haven't tested with any other versions of Angular/NativeScript/TypeScript, and we're also using AOT compilation if that makes a difference.

Error at /home/gibson/cyph/tmp/node_modules/nativescript-angular-webview-crypto/index.ts:4:36: Argument of type '() => typeof WebViewCrypto' is not assignable to parameter of type 'ViewResolver'.
  Type 'typeof WebViewCrypto' is not assignable to type 'ViewClass'.
    Type 'WebViewCrypto' is not assignable to type 'View'.
      Property 'android' is missing in type 'WebViewCrypto'.
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