Comments (6)
Yup just the last part of publishing the types missing, I'll try to give it a push 🙏🏻
from next-auth.
There are not, but this would be very welcome.
If you could provide an example (even if it's just a set of instructions here!) of how to check they work and are correct to make maintain easier that would be great!
from next-auth.
Sounds good. I'll submit a PR an a bit.
I don't know of any good way to check that they work with a JavaScript project besides manually looking over them. But they just need to be updated whenever a module, function or object signature changes.
from next-auth.
@iaincollins Is there any plan to publish the version with typescript typings? That would be awesome. Also, package.json
is missing types
field to make it work with TS
from next-auth.
Hey! I tried to use the TS types you provided, but found some problems using it in my projects.
I created #71 to apply the changes I needed, and also provided a typescript example.
As I am no typescript pro, criticism is welcome.
from next-auth.
Being tracked in #220
from next-auth.
Related Issues (20)
- Keycloak signOut not working HOT 1
- CallbackRouteError on Credentials when following docs HOT 10
- Error: `headers` was called outside a request scope, when using Authjs v5.0.0-beta.19 and next dev --turbo HOT 11
- Type '<P extends KeycloakProfile>(options: OAuthUserConfig<P>) => OAuthConfig<P>' is not assignable to type 'Provider'. HOT 1
- Keycloak provider does not work in docker HOT 3
- Intermediary page being show in production mode HOT 1
- Loking for alternative to client secret In Azure Ad Provider
- With credential provider xata adapter not storing session data in xata database
- Error [TypeError]: immutable HOT 1
- Custom SignIn example fix HOT 1
- Dependency conflict between kysely and @auth/kysely-adapter HOT 1
- Update documentation to enhance type safety for environment variables in NextAuth configuration
- bug: Resend logo is not visible in dark mode
- Refresh token rotation
- ID not beeing created in the database
- signOut function from auth.ts export doesn't reload the client side useSession state
- Api auth path error when using with turbopack HOT 1
- Api auth path error when using with turbopack HOT 4
- My app requests "additional access" every time the user signs in with Google
- Cannot get final name for export 'default' HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from next-auth.