From 46e03bda46dce49dfedd3e9dcd51502edb0f51a3 Mon Sep 17 00:00:00 2001 From: Kohei Watanabe Date: Wed, 16 Oct 2019 00:27:50 +0900 Subject: [PATCH] docs: GPIOPortMap --- index.d.ts | 3 +++ index.js | 3 +++ index.ts | 3 +++ 3 files changed, 9 insertions(+) diff --git a/index.d.ts b/index.d.ts index 4a82599..531c600 100644 --- a/index.d.ts +++ b/index.d.ts @@ -28,6 +28,9 @@ export declare class GPIOAccess extends EventEmitter { */ unexportAll(): Promise; } +/** + * Different from Web GPIO API specification. + */ export declare class GPIOPortMap extends Map { } export declare class GPIOPort extends EventEmitter { diff --git a/index.js b/index.js index f8e36c5..88da958 100644 --- a/index.js +++ b/index.js @@ -41,6 +41,9 @@ class GPIOAccess extends events_1.EventEmitter { } } exports.GPIOAccess = GPIOAccess; +/** + * Different from Web GPIO API specification. + */ class GPIOPortMap extends Map { } exports.GPIOPortMap = GPIOPortMap; diff --git a/index.ts b/index.ts index b601579..2e9c8eb 100644 --- a/index.ts +++ b/index.ts @@ -79,6 +79,9 @@ export class GPIOAccess extends EventEmitter { } } +/** + * Different from Web GPIO API specification. + */ export class GPIOPortMap extends Map {} export class GPIOPort extends EventEmitter {