Skip to content

Commit 682c8c3

Browse files
Update property.ts
1 parent d1ab0b9 commit 682c8c3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/property.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,14 @@ export class Property<T extends Any> {
5353

5454
private prevGetValue?: T;
5555

56+
private lastorigin?: string;
57+
5658
constructor(device: Device, name: string, propertyDescr: PropertySchema) {
5759
this.device = device;
5860

5961
this.name = name;
6062

61-
this.lastOrigin = null;
63+
this.lastOrigin = "";
6264

6365
// The propertyDescr argument used to be the 'type' string, so we add an
6466
// assertion here to notify anybody who has an older plugin.

0 commit comments

Comments
 (0)