gladly-team / next-firebase-auth

Simple Firebase authentication for all Next.js rendering strategies
https://nfa-example-git-v1x-gladly-team.vercel.app/
MIT License
1.34k stars 290 forks source link

Missing Typescript type definitions for getUserFromCookies #528

Closed briandonahue closed 2 years ago

briandonahue commented 2 years ago

Describe the bug New method added in #516 did not include Typescript type definition and therefore was not found when trying to import into a typescript module.

Versions

next-firebase-auth version: v1.0.0-canary.14 Firebase JS SDK: Next.js:

To Reproduce Steps to reproduce the behavior:

  1. Add canary version of next-firebase-auth2.
  2. try to import getUserFromCookies from server-side code - not found3.

Expected behavior Expect it to be available from Typescript as well as Javascript

I will be submitting a PR for this immediately after posting the issue.

kmjennison commented 2 years ago

Fixed in #529.