obsidian-typings 4.30.0 → 4.32.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -69,8 +69,8 @@ To make it easier to adapt to these differences, this package provides typings f
|
|
|
69
69
|
|
|
70
70
|
Typings for each `Obsidian` version can be found in their own git branches: namely `release/obsidian-public/*` and `release/obsidian-catalyst/*`:
|
|
71
71
|
|
|
72
|
-
- Latest `public` release: [`release/obsidian-public/1.9.
|
|
73
|
-
- Latest `catalyst` release: [`release/obsidian-catalyst/1.9.
|
|
72
|
+
- Latest `public` release: [`release/obsidian-public/1.9.12`](https://github.com/Fevol/obsidian-typings/tree/release/obsidian-public/1.9.12)
|
|
73
|
+
- Latest `catalyst` release: [`release/obsidian-catalyst/1.9.12`](https://github.com/Fevol/obsidian-typings/tree/release/obsidian-catalyst/1.9.12)
|
|
74
74
|
|
|
75
75
|
Older versions of the package are available, but support for them is limited.
|
|
76
76
|
In most cases, we recommend to always use the latest release.
|
|
@@ -89,6 +89,12 @@ In most cases, we recommend to always use the latest release.
|
|
|
89
89
|
- `npm pkg set "dependencies.obsidian-typings=obsidian-public-1.8.10" && npm install`
|
|
90
90
|
- `npm pkg set "dependencies.obsidian-typings=obsidian-catalyst-1.9.9" && npm install`
|
|
91
91
|
|
|
92
|
+
> [!IMPORTANT]
|
|
93
|
+
>
|
|
94
|
+
> If you installed library using `npm pkg set` approach, you will have to update it using `npm update obsidian-typings` command.
|
|
95
|
+
>
|
|
96
|
+
> If you run `npm install obsidian-typings` instead, the most likely, the library will not get updated.
|
|
97
|
+
|
|
92
98
|
### 2. Enable in `tsconfig.json` (recommended) <span id="add-types-setting-to-tsconfig-json"></span>
|
|
93
99
|
|
|
94
100
|
Add `obsidian-typings` to the `types` array of your `tsconfig.json` to make all extended typings available globally without explicit importing them:
|