nuxt-community / auth-module

Zero-boilerplate authentication support for Nuxt 2
https://auth.nuxtjs.org
MIT License
1.93k stars 924 forks source link

fix(types): Allow boolean types for redirect options (#1361) #1490

Open bmulholland opened 2 years ago

bmulholland commented 2 years ago

Re-opening #1361

Fixes https://github.com/nuxt-community/auth-module/issues/1358 Fixes https://github.com/nuxt-community/auth-module/issues/1200

Replaces https://github.com/nuxt-community/auth-module/pull/1201

bmulholland commented 2 years ago

Modified commit to pass prettier lint

bmulholland commented 2 years ago

Okay, the type errors are now shown on CI. I'm out of time for now, but @AntanasGa please feel free to tackle these TS errors if you can.