Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

default import is undefined on ts #17

Open
AhmedKorim opened this issue Feb 7, 2020 · 2 comments
Open

default import is undefined on ts #17

AhmedKorim opened this issue Feb 7, 2020 · 2 comments

Comments

@AhmedKorim
Copy link

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
Copy link
Owner

ananay commented Feb 17, 2020

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

@tduyduc
Copy link

tduyduc commented Mar 3, 2025

Sorry for grave-digging, but have you enabled esModuleInterop from tsconfig.json?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants