Usage
On this page, you can find information on how you can import and use the library in your project.
Accessing types
Import from obsidian
If you want to access types from the obsidian
module, the import syntax is unchanged:
Import from obsidian-typings
Additional interfaces added by this package (which are not documented anywhere in the official API) can be imported using:
Extend with your own typings
If you need to extend the typings provided by this package with your own types,
add the following to any .d.ts
file in your project:
Using implementations
Via obsidian-typings/implementations
Additional helper functions/types/… added by this package, can be added by importing from obsidian-typings/implementations
:
(The list of all available implementations can be found in the implementations folder.)