Hi Sander,
What i have done is NPM i PKIJS.
After which i got this in my package.json-lock
"pkijs": {
"version": "2.1.36",
"resolved": "https://registry.npmjs.org/pkijs/-/pkijs-2.1.36.tgz",
"integrity":
"sha512-AlFMOtvh00xK3+iXxz3zRiHeGoStj58OQlV9gKrnqjvfG1mEzyxddRAwQNtvn2enSrtFrgP4IpIgDaUwE/aDLQ=="
,
"requires": {
"asn1js": "2.0.19",
"pvutils": "1.0.12"
}
},
After this i used this to import in my ts file
import Certificate from "pkijs";
but when i call Certificate. something
its shows undefined function.
Pplease Help If possible.
On Sun, Apr 8, 2018 at 7:04 AM, Sander Elias <[email protected]> wrote:
> Hi Pratik,
>
> Probably you used NPM to get it. As far as i know, there is no correct
> working @types fie for the thing. Enable Aloowjs is your tsconfig, and
> import it something like this:
> import * as PKI from "pkijs"
>
> I don't have time now to build a sample.
>
> Regards
> Sander
>
> --
> You received this message because you are subscribed to the Google Groups
> "Angular and AngularJS discussion" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/angular.
> For more options, visit https://groups.google.com/d/optout.
>
--
You received this message because you are subscribed to the Google Groups
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.