Description
Could not find a declaration file for module 'glicko2.ts'. 'C:/project/node_modules/glicko2.ts/dist/index.mjs' implicitly has an 'any' type.
Trynpm i --save-dev @types/glicko2.ts
if it exists or add a new declaration (.d.ts) file containing `declare module 'glicko2.ts';
glicko2.ts: 1.3.2,
Environment:
node: v18.16.0
ts-node: 10.9.1,
typescript: 5.1.6
My tsconfig.json:
{
"compilerOptions": {
"strict": false,
"esModuleInterop": true,
"target": "es2022",
"lib": ["ES5", "ES6", "ES2022"],
"module": "NodeNext",
"noImplicitAny": true,
"resolveJsonModule": true,
"allowJs": true,
"inlineSourceMap": true,
"removeComments": true,
"forceConsistentCasingInFileNames": true,
"rootDir": "./src",
"outDir": "./build",
"skipLibCheck": true
},
"ts-node": {
"esm": true
},
"include": ["src/**/*"],
"exclude": ["node_modules", "build"],
"lib": ["ESNext", "ES2022"]
}
Activity