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

[3.0.0-beta.2] Missing type exports #675

Closed
6 tasks done
gfriedm4 opened this issue Jul 10, 2023 · 2 comments
Closed
6 tasks done

[3.0.0-beta.2] Missing type exports #675

gfriedm4 opened this issue Jul 10, 2023 · 2 comments
Labels
bug This points to a verified bug in the code

Comments

@gfriedm4
Copy link

gfriedm4 commented Jul 10, 2023

Checklist

Description

Hi there - I was previously using the @types/react-native-auth0 library to provide types for my auth0 client and have tried to remove the dependency now that this repo has been converted into TS.

I am missing one type that I need to be able to import directly from the library (as opposed to just using the implicit types).

import type { Credentials } from "react-native-auth0";

Reproduction

import type { Credentials } from "react-native-auth0";

error TS2614: Module '"react-native-auth0"' has no exported member 'Credentials'. Did you mean to use 'import Credentials from "react-native-auth0"' instead?

Additional context

No response

react-native-auth0 version

3.0.0-beta.2

React Native version

0.72.1

Expo version

49

Platform

Android, iOS

Platform version(s)

@gfriedm4 gfriedm4 added the bug This points to a verified bug in the code label Jul 10, 2023
@gfriedm4
Copy link
Author

Note: I am not confident this should be categorized as a bug, but it is a missing feature in order to have parity with the removal of @types/react-native-auth0.

@poovamraj
Copy link
Contributor

Hey @gfriedm4 we have fixed this one in the release here - https://github.com/auth0/react-native-auth0/releases/tag/v3.0.0-beta.3

Thanks a lot for your feedback! We would really appreciate more feedback and thoughts on the SDK.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This points to a verified bug in the code
Projects
None yet
Development

No branches or pull requests

2 participants