Skip to content

Commit

Permalink
fix(ts): make colorScheme optional (#4868)
Browse files Browse the repository at this point in the history
Documentation says if it is not passed it will be "auto", but it is mandatory on this type.
  • Loading branch information
heyBett authored and balazsorban44 committed Jul 8, 2022
1 parent c59a4e0 commit c1f7ce3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/next-auth/src/core/types.ts
Expand Up @@ -214,7 +214,7 @@ export interface NextAuthOptions {
* [Pages](https://next-auth.js.org/configuration/pages)
*/
export interface Theme {
colorScheme: "auto" | "dark" | "light"
colorScheme?: "auto" | "dark" | "light"
logo?: string
brandColor?: string
buttonText?: string
Expand Down

0 comments on commit c1f7ce3

Please sign in to comment.