blacksmithgu / obsidian-dataview

A data index and query language over Markdown files, for https://obsidian.md/.
https://blacksmithgu.github.io/obsidian-dataview/
MIT License
6.9k stars 407 forks source link

Export DataviewInlineApi from typings #2419

Open mnaoumov opened 1 month ago

mnaoumov commented 1 month ago

Is your feature request related to a problem? Please describe.

I want to be able to access DataviewInlineApi in a strongly typed way.

Describe the solution you'd like

import type { DataviewInlineApi } from "obsidian-dataview";

Describe alternatives you've considered

Currently I have to use hacks like

import type { DataviewInlineApi } from "../../node_modules/obsidian-dataview/lib/api/inline-api.d.ts";

which is bad, because it is not redistributable

Additional context Add any other context or screenshots about the feature request here.