mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 14:57:10 +00:00
Merge pull request #29921 from tdurtschi/master
Add static property 'accessile' to onoff.Gpio class in types/onoff
This commit is contained in:
Vendored
+2
@@ -28,6 +28,8 @@ declare namespace __ONOFF {
|
||||
options?: GpioOptions
|
||||
);
|
||||
|
||||
static accessible: boolean;
|
||||
|
||||
gpio: number;
|
||||
gpioPath: string;
|
||||
opts: GpioOptions;
|
||||
|
||||
@@ -14,3 +14,5 @@ setTimeout(function() {
|
||||
led.writeSync(0);
|
||||
led.unexport();
|
||||
}, 2000);
|
||||
|
||||
var accessible:boolean = onoff.Gpio.accessible;
|
||||
|
||||
Reference in New Issue
Block a user