Why do type overrides have to be in types/next-auth.d.ts
?
#2155
Unanswered
nicholaschiang
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Question 💬
types/next-auth.d.ts
file?global.d.ts
or any other*.d.ts
file that's included in mytsconfig.json
?types/next-auth.d.ts
)?I've tried placing them in
global.d.ts
andnext-auth.d.ts
(in the repository root), but I can only ever get it working when my file is namednext-auth.d.ts
and when it is in a directory namedtypes/
.Beta Was this translation helpful? Give feedback.
All reactions