How to use auth0 spa with TypeScript?

Also doing the same implementation so I want to follow up with you all here. I’ve gotten my react-auth0-spa.tsx to work but unsure if I’m doing things right.

My lib option of tsconfig.json looks exactly the same but I’m not getting the TS errors:

    "lib": [
      "dom",
      "dom.iterable",
      "esnext"
    ],

When would Auth0 create an official Typescript wrapper?