wot-typescript-definitions
Advanced tools
Comparing version
@@ -212,4 +212,4 @@ import { Observable } from 'rxjs/Observable'; | ||
{ | ||
read(): Promise<any>; | ||
write(value: any): Promise<void>; | ||
read(options?: any): Promise<any>; | ||
write(value: any, options?: any): Promise<void>; | ||
subscribe(next?: (value: any) => void, error?: (error: any) => void, complete?: () => void): Subscription; | ||
@@ -219,3 +219,3 @@ } | ||
export interface ThingAction extends ThingInteraction, ActionFragment { | ||
invoke(parameter?: any): Promise<any>; | ||
invoke(parameter?: any, options?: any): Promise<any>; | ||
} | ||
@@ -222,0 +222,0 @@ |
{ | ||
"name": "wot-typescript-definitions", | ||
"version": "0.6.0-SNAPSHOT.7", | ||
"version": "0.6.0-SNAPSHOT.8", | ||
"description": "TypeScript definitions for the W3C WoT Scripting API", | ||
@@ -5,0 +5,0 @@ "author": "W3C Web of Things Working Group", |
19292
0.22%