How to Resolve TypeScript Errors in Frontend Example Code During NextJS App Setup Using Pipedream?

This topic was automatically generated from Slack. You can find the original thread here.

Hey there! I’m trying to follow Managed Auth Quickstart - Pipedream to set up a TypeScript (NextJS) app. The backend is working ok, but when I try to use the frontend example code I’m seeing TypeScript errors (ie tokenCallback does not exist on PipedreamClientOpts) . Has anyone run into this before?

pipedream-connect-examples/managed-auth-basic-next-app/app/page.tsx at master · PipedreamHQ/pipedream-connect-examples · GitHub does a nextjs integration with Pipedream really look like this? That’s a lot of frontend code to manage.

That example app can probably be dramatically improved. Have you checked out the other demo app in that repo? Or this part of our docs? SDKs - Pipedream