Initial commit
This commit is contained in:
8
node_modules/serialport/dist/serialport-mock.d.ts
generated
vendored
Normal file
8
node_modules/serialport/dist/serialport-mock.d.ts
generated
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
import { ErrorCallback, OpenOptions, SerialPortStream } from '@serialport/stream';
|
||||
import { MockBindingInterface } from '@serialport/binding-mock';
|
||||
export type SerialPortMockOpenOptions = Omit<OpenOptions<MockBindingInterface>, 'binding'>;
|
||||
export declare class SerialPortMock extends SerialPortStream<MockBindingInterface> {
|
||||
static list: () => Promise<import("@serialport/bindings-interface").PortInfo[]>;
|
||||
static readonly binding: MockBindingInterface;
|
||||
constructor(options: SerialPortMockOpenOptions, openCallback?: ErrorCallback);
|
||||
}
|
||||
Reference in New Issue
Block a user