1.0.3 • Published 6 months ago

@types/sybase-promised v1.0.3

Weekly downloads
4
License
MIT
Repository
github
Last release
6 months ago

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

// Type definitions for sybase-promised 1.0
// Project: https://github.com/mscamargo/sybase-promised#readme
// Definitions by: Sergey12313 <https://github.com/sergey12313>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

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: Fri, 02 Jul 2021 22:33:21 GMT
  • Dependencies: none
  • Global values: sybasepromised

Credits

These definitions were written by Sergey12313.

1.0.2

7 months ago

1.0.3

6 months ago

1.0.1

3 years ago

1.0.0

5 years ago