janl / mustache.js

Minimal templating with {{mustaches}} in JavaScript
https://mustache.github.io
MIT License
16.37k stars 2.4k forks source link

Getting Error ``ts(1261)`` #809

Open KiddoV opened 1 year ago

KiddoV commented 1 year ago

I am getting this error in VSCode when importing Mustache:

Already included file name 'c:/.../frontend/node_modules/@types/mustache/index.d.ts' differs from file name 'c:/.../frontend/node_modules/@types/Mustache/index.d.ts' only in casing.
  The file is in the program because:
    Imported via 'mustache' from file 'c:/.../frontend/src/routes/aoi-file-converter.svelte' with packageId '@types/mustache/index.d.ts@4.2.2'
    Root file specified for compilationts(1261)

Everything seem to works, but this error is annoying me.

Untitled

Any idea how to fix this issue?

Thanks in advance!