Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Type issues #5

Open
Nik-Novak opened this issue May 8, 2024 · 1 comment
Open

Type issues #5

Nik-Novak opened this issue May 8, 2024 · 1 comment

Comments

@Nik-Novak
Copy link

Nik-Novak commented May 8, 2024

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
Copy link

did u find a fix ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants