Skip to content

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

@buu700

Description

@buu700

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'.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions