HyperPlay-Gaming / next-auth-steam

Steam authentication provider for next-auth
MIT License
6 stars 3 forks source link

Type issues #5

Open Nik-Novak opened 6 months ago

Nik-Novak commented 6 months ago
Could not find a declaration file for module '@hyperplay/next-auth-steam'. '/home/dev/projects/MindKnight/MindKnight-client--react-ts/app/node_modules/@hyperplay/next-auth-steam/dist/index.es.js' implicitly has an 'any' type.
  There are types at '/home/dev/projects/MindKnight/MindKnight-client--react-ts/app/node_modules/@hyperplay/next-auth-steam/dist/index.d.ts', but this result could not be resolved when respecting package.json "exports". The '@hyperplay/next-auth-steam' library may need to update its package.json or typings.ts(7016)

Node: v20.12.0 NPM: 10.5.0

TSConfig:

{
  "compilerOptions": {
    "lib": ["dom", "dom.iterable", "esnext"],
    "allowJs": true,
    "skipLibCheck": true,
    "strict": true,
    "noEmit": true,
    "esModuleInterop": true,
    "module": "esnext",
    "target": "ESNext", //Added this for esm top level await
    "moduleResolution": "bundler",
    "resolveJsonModule": true,
    "isolatedModules": true,
    "jsx": "preserve",
    "incremental": true,
    "plugins": [
      {
        "name": "next"
      }
    ],
    "paths": {
      "@/*": ["./src/*"],
      "@/database": ["./prisma/database"],
      "@/auth": ["./auth"]
    }
  },
  "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
  "exclude": ["node_modules"]
}
dzabdelhak commented 2 months ago

did u find a fix ?