Jdenticon for ionic 2


#1

Hi all,
I’m following the 3rd party libs docs to import jdenticon for my ionic app.

After doing npm install jdenticon @types/jdenticon --save, I imported the jdenticon namespace into my page with:

import { jdenticon } from 'jdenticon';

However, when I attempt to log the version, the jdenticon namespace is undefined.

PlayersPage ionViewWillEnter error: Cannot read property ‘version’ of undefined

How do I properly import jdenticon lib?