Add typescript declaration in SDK

I’m using ghost SDK with React typescript and it’s giving the error: Could not find a declaration file for module ‘@tryghost/admin-api’.
I want to add members to email list when someone signs up on the platform using Google Auth (Firebase)


  • How was Ghost installed and configured?
    using Javascript SDK, yarn add @tryghost/admin-api
  • What Node version, database, OS & browser are you using?
    Node version: v18.14.2, DB: FIrebase firestore v9, Browser: Chrome
  • What errors or information do you see in the console?
  • What steps could someone else take to reproduce the issue you’re having?