Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/things.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ class Thing {
*
* @memberof things
* @param {string} uid UID of the thing
* @returns {Thing} {@link things.Thing}
* @returns {Thing|null} {@link things.Thing}
*/
function getThing (uid) {
const rawThing = thingRegistry.get(new ThingUID(uid));
Expand Down
4 changes: 2 additions & 2 deletions types/things.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,9 @@ export class Thing {
*
* @memberof things
* @param {string} uid UID of the thing
* @returns {Thing} {@link things.Thing}
* @returns {Thing|null} {@link things.Thing}
*/
export function getThing(uid: string): Thing;
export function getThing(uid: string): Thing | null;
/**
* Gets all openHAB Things.
*
Expand Down
2 changes: 1 addition & 1 deletion types/things.d.ts.map

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