@types/sybase-promised
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

Installation

npm install --save @types/sybase-promised

Summary

This package contains type definitions for sybase-promised (https://github.com/mscamargo/sybase-promised#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/sybase-promised.

index.d.ts

export as namespace sybasepromised;

declare namespace SybasePromised {
    interface ConnectionOptions {
        host: string;
        port: number;
        dbname: string;
        username: string;
        password: string;
        logTiming?: boolean | undefined;
        pathToJavaBtidge?: string | undefined;
    }
}

declare class SybasePromised {
    constructor(options: SybasePromised.ConnectionOptions);
    connect(): Promise<this>;
    query(sql: string): Promise<any[]>;
    disconnect(): void;
}

export = SybasePromised;

Additional Details

  • Last updated: Tue, 07 Nov 2023 15:11:36 GMT
  • Dependencies: none

Credits

These definitions were written by Sergey12313.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/sybase-promised

Weekly Downloads

314

Version

1.0.3

License

MIT

Unpacked Size

3.67 kB

Total Files

5

Last publish

Collaborators

  • types