[BUG]: Broken API (0.5.58 → 0.5.64) : ERROR TS2307 - Cannot find module 'xxx' or its corresponding type declarations
Author: Mara-LiCreated Sep 30, 2023Updated May 7, 2026
Labelsbug
What happened?
When updating in my own plugin the dataview package to 0.5.59, TS can't found any declaration for Obsidian-dataview.
Translation:
Try
npm i --save-dev @types/obsidian-dataviewif it exists or add a new declaration (.d.ts) file containing `declare module 'obsidian-dataview'; ERROR TS7016 Could not find a declaration file for module 'obsidian-dataview" […]
Spotted that the two last version doesn't have the main.d.ts file:
Comparison to 0.5.56, where libs contains everything.
DQL
/
JS
No response
Dataview Version
0.5.58 - 0.5.56
Obsidian Version
Not relevant
OS
Windows
Source: blacksmithgu/obsidian-dataview