ananay / apple-auth

Sign in with Apple for Node.js
326 stars 59 forks source link

default import is undefined on ts #17

Open AhmedKorim opened 4 years ago

AhmedKorim commented 4 years ago

Hey nice work! but i have the default import undefined tried this syntax it worked but i lost the type

import * as AppleAuth from 'apple-auth';

Any tips?

ananay commented 4 years ago

Hi @AhmedKorim, thank you!

I personally haven't used it with TS but while I figure something out you can take a look at the example. https://github.com/ananay/apple-auth-example