Initial commit
This commit is contained in:
14
node_modules/@serialport/bindings-cpp/dist/unix-write.d.ts
generated
vendored
Normal file
14
node_modules/@serialport/bindings-cpp/dist/unix-write.d.ts
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
/// <reference types="node" />
|
||||
/// <reference types="node" />
|
||||
import { write } from 'fs';
|
||||
import { LinuxPortBinding } from './linux';
|
||||
import { DarwinPortBinding } from './darwin';
|
||||
declare const writeAsync: typeof write.__promisify__;
|
||||
interface UnixWriteOptions {
|
||||
binding: LinuxPortBinding | DarwinPortBinding;
|
||||
buffer: Buffer;
|
||||
offset?: number;
|
||||
fsWriteAsync?: typeof writeAsync;
|
||||
}
|
||||
export declare const unixWrite: ({ binding, buffer, offset, fsWriteAsync }: UnixWriteOptions) => Promise<void>;
|
||||
export {};
|
||||
Reference in New Issue
Block a user