keybase / kbpgp

OpenPGP (RFC4880) Implementation in IcedCoffeeScript
https://keybase.io/kbpgp
BSD 3-Clause "New" or "Revised" License
534 stars 74 forks source link

Typescript support #179

Open Anmol-Singh-Jaggi opened 5 years ago

Anmol-Singh-Jaggi commented 5 years ago

I was wondering if we can use kbpgp in Typescript. I tried to write the sample code in TS:

 console.log('Hello');
 let f = kbpgp['const'];

Its failing at the second line itself. What is the correct way to use it in Typescript?