File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -53,14 +53,14 @@ export class Property<T extends Any> {
5353
5454 private prevGetValue ?: T ;
5555
56- private lastOrigin ?: string ;
56+ private lastOrigin ?: Any ;
5757
5858 constructor ( device : Device , name : string , propertyDescr : PropertySchema ) {
5959 this . device = device ;
6060
6161 this . name = name ;
6262
63- this . lastOrigin = "" ;
63+ this . lastOrigin = null ;
6464
6565 // The propertyDescr argument used to be the 'type' string, so we add an
6666 // assertion here to notify anybody who has an older plugin.
@@ -194,7 +194,7 @@ export class Property<T extends Any> {
194194 * It is anticipated that this method will most likely be overridden
195195 * by a derived class.
196196 */
197- setValue ( value : T , origin ?: any ) : Promise < T > {
197+ setValue ( value : T , meta ?: any ) : Promise < T > {
198198 return new Promise ( ( resolve , reject ) => {
199199 if ( this . readOnly ) {
200200 reject ( 'Read-only property' ) ;
You can’t perform that action at this time.
0 commit comments