Download Dataview from GitHub https://github.com/blacksmithgu/obsidian-dataview
.
Add the following file to the Dataview root folder:
{
"extends": "./tsconfig.json", // Extend the base configuration
"compilerOptions": {
"declaration": true,
"emitDeclarationOnly": true,
"noEmitOnError": true,
"outDir": "./dataview_types" // Output directory for declaration files
},
"include": [
"src/**/*.ts",
"src/**/*.tsx" // Include TypeScript and TSX files
],
"exclude": [
"node_modules", // Exclude node_modules by default
"**/*.test.ts", // Exclude test files
"**/*.test.tsx" // Exclude TSX test files
]
}
and run the commands:
npx tsc -p tsconfig.declarations.json
Move the folder dataview_types
to the src
folder of this project.
I would be grateful for any donation to support the development of this plugin.
- Author: Andrea Alberti
- GitHub Profile: alberti42
- Donations:
Feel free to contribute to the development of this plugin or report any issues in the GitHub repository.