Skip to content

Commit

Permalink
Improve PersistedItem JSDoc
Browse files Browse the repository at this point in the history
Signed-off-by: Florian Hotze <[email protected]>
  • Loading branch information
florian-h05 committed Nov 10, 2024
1 parent 873417a commit 1f32b6f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/items/item-persistence.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,14 +81,15 @@ class PersistedState {

/**
* Class representing an instance of {@link https://www.openhab.org/javadoc/latest/org/openhab/core/persistence/historicitem org.openhab.core.persistence.HistoricItem}.
* Extends {@link items.PersistedState}.
*
* @extends PersistedState
* @memberof items
* @hideconstructor
*/
class PersistedItem extends PersistedState {
/**
* Create an PersistedItem, wrapping a native openHAB HistoricItem.
* Create a PersistedItem, wrapping a native openHAB HistoricItem.
* @param {*} rawHistoricItem {@link https://www.openhab.org/javadoc/latest/org/openhab/core/persistence/historicitem org.openhab.core.persistence.HistoricItem}
* @hideconstructor
*/
Expand Down
1 change: 1 addition & 0 deletions types/items/item-persistence.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -537,6 +537,7 @@ declare namespace items {
declare const TimeSeries: any;
/**
* Class representing an instance of {@link https://www.openhab.org/javadoc/latest/org/openhab/core/persistence/historicitem org.openhab.core.persistence.HistoricItem}.
* Extends {@link items.PersistedState}.
*
* @extends PersistedState
* @memberof items
Expand Down
2 changes: 1 addition & 1 deletion types/items/item-persistence.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 1f32b6f

Please sign in to comment.