Closed vanhumbeecka closed 5 years ago
@vanhumbeecka If you had searched the issues first for "typescript", I think you would have found that this project is not written and in TypeScript and contains no TypeScript hinting. See #24 which links to the project which contains the TypeScript definitions for the project.
I'm closing this issue because the issue is not in this project.
For anyone who lands here (like me). The issue seems to be an incompatible version between @types/mongoose
and @types/mongoose-geojson-schema
.
I just resolved a similar issue by removing the version constraints off @types/mongoose
in my package.json, so the package manager could figure out the correct compatible version after a fresh install.
In package.json:
"@types/mongoose": "*",
On building my Typescript app, I noticed the following errors when running
tsc
:Apparently, the typings of this package goes into conflict with those of
mongoose
itself. How to resolve this? Is this a bug in the typings of this package? Or a misconfiguration on my part? It's not clear to me at this point.