wot-typescript-definitions
Advanced tools
Comparing version
@@ -317,9 +317,9 @@ import { Observable } from 'rxjs/Observable'; | ||
// For now decorator in node-wot | ||
export declare type PropertyReadHandler = (internal?: any) => Promise<any>; | ||
export declare type PropertyReadHandler = (internal?: any, options?: any) => Promise<any>; | ||
// TODO: Decide if decorator (return any) or replacement (return void) for set() | ||
// For now decorator in node-wot | ||
export declare type PropertyWriteHandler = (value: any) => Promise<any>; | ||
export declare type PropertyWriteHandler = (value: any, options?: any) => Promise<any>; | ||
export declare type ActionHandler = (parameters: any) => Promise<any>; | ||
export declare type ActionHandler = (parameters: any, options?: any) => Promise<any>; | ||
@@ -326,0 +326,0 @@ export interface Link { |
{ | ||
"name": "wot-typescript-definitions", | ||
"version": "0.6.0-SNAPSHOT.8", | ||
"version": "0.6.0-SNAPSHOT.9", | ||
"description": "TypeScript definitions for the W3C WoT Scripting API", | ||
@@ -5,0 +5,0 @@ "author": "W3C Web of Things Working Group", |
19337
0.23%