yarn build

This commit is contained in:
Nebel 2019-11-08 16:29:10 +09:00
parent d05c3c011b
commit d8cf9e03e9

12
index.d.ts vendored
View file

@ -16,7 +16,7 @@ export declare class GPIOAccess extends EventEmitter {
private readonly _ports; private readonly _ports;
onchange: GPIOChangeEventHandler | undefined; onchange: GPIOChangeEventHandler | undefined;
constructor(ports?: GPIOPortMap); constructor(ports?: GPIOPortMap);
readonly ports: GPIOPortMap; get ports(): GPIOPortMap;
/** /**
* Unexport all exported GPIO ports. * Unexport all exported GPIO ports.
*/ */
@ -36,11 +36,11 @@ export declare class GPIOPort extends EventEmitter {
private _timeout; private _timeout;
onchange: GPIOChangeEventHandler | undefined; onchange: GPIOChangeEventHandler | undefined;
constructor(portNumber: PortNumber); constructor(portNumber: PortNumber);
readonly portNumber: PortNumber; get portNumber(): PortNumber;
readonly portName: PortName; get portName(): PortName;
readonly pinName: PinName; get pinName(): PinName;
readonly direction: DirectionMode; get direction(): DirectionMode;
readonly exported: boolean; get exported(): boolean;
export(direction: DirectionMode): Promise<void>; export(direction: DirectionMode): Promise<void>;
unexport(): Promise<void>; unexport(): Promise<void>;
read(): Promise<GPIOValue>; read(): Promise<GPIOValue>;